

{"id":468,"date":"2014-10-20T20:05:18","date_gmt":"2014-10-21T00:05:18","guid":{"rendered":"https:\/\/sites.temple.edu\/geophysics\/?p=468"},"modified":"2014-10-21T17:12:34","modified_gmt":"2014-10-21T21:12:34","slug":"interactive-scientific-plots-posted-on-a-paranoid-webserver","status":"publish","type":"post","link":"https:\/\/sites.temple.edu\/geophysics\/2014\/10\/20\/interactive-scientific-plots-posted-on-a-paranoid-webserver\/","title":{"rendered":"Interactive scientific plots posted on a paranoid webserver."},"content":{"rendered":"<p>While Temple make it easy to create a WordPress hosted website, they turn off all user-authored javascript. I guess they have a point; security is a huge issue as hacker assault our servers all the time. But if you want to post cool interactive graphics to your website, what&#8217;s a poor scientist to do?<\/p>\n<p>Enter Plot.ly&#8230;.. \u00a0Okay, so I can&#8217;t embed the actual plot in WordPress, but I can do the next best thing. \u00a0I can embed a static image with a link to the dynamic plot hosted for free on the Plot.ly website. \u00a0Click on the image below and try zooming and panning around. Cool!<\/p>\n<p>&nbsp;<\/p>\n<div id=\"attachment_508\" style=\"width: 810px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/plot.ly\/~jenyquist\/4\/ca-and-mg-concentration-with-a-discharge-event\/\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-508\" class=\"size-full wp-image-508\" src=\"https:\/\/sites.temple.edu\/geophysics\/files\/2014\/10\/ca_and_mg_concentration_with_a_discharge_event-e1413850923772.png\" alt=\"Plotly Example\" width=\"800\" height=\"400\" \/><\/a><p id=\"caption-attachment-508\" class=\"wp-caption-text\">A Plot.ly Example<\/p><\/div>\n<p>That was nice, but now let&#8217;s get fancy and show a radargram with the traces. All interactive!<\/p>\n<div id=\"attachment_514\" style=\"width: 747px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/plot.ly\/~jenyquist\/7\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-514\" class=\"size-full wp-image-514\" src=\"https:\/\/sites.temple.edu\/geophysics\/files\/2014\/10\/Radargram.jpg\" alt=\"CZO Radargram\" width=\"737\" height=\"493\" srcset=\"https:\/\/sites.temple.edu\/geophysics\/files\/2014\/10\/Radargram.jpg 737w, https:\/\/sites.temple.edu\/geophysics\/files\/2014\/10\/Radargram-300x200.jpg 300w\" sizes=\"auto, (max-width: 737px) 100vw, 737px\" \/><\/a><p id=\"caption-attachment-514\" class=\"wp-caption-text\">CZO Radargram<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>While Temple make it easy to create a WordPress hosted website, they turn off all user-authored javascript. I guess they have a point; security is a huge issue as hacker assault our servers all the time. But if you want &hellip; <a href=\"https:\/\/sites.temple.edu\/geophysics\/2014\/10\/20\/interactive-scientific-plots-posted-on-a-paranoid-webserver\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":606,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-468","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/sites.temple.edu\/geophysics\/wp-json\/wp\/v2\/posts\/468","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.temple.edu\/geophysics\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sites.temple.edu\/geophysics\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sites.temple.edu\/geophysics\/wp-json\/wp\/v2\/users\/606"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.temple.edu\/geophysics\/wp-json\/wp\/v2\/comments?post=468"}],"version-history":[{"count":0,"href":"https:\/\/sites.temple.edu\/geophysics\/wp-json\/wp\/v2\/posts\/468\/revisions"}],"wp:attachment":[{"href":"https:\/\/sites.temple.edu\/geophysics\/wp-json\/wp\/v2\/media?parent=468"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sites.temple.edu\/geophysics\/wp-json\/wp\/v2\/categories?post=468"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sites.temple.edu\/geophysics\/wp-json\/wp\/v2\/tags?post=468"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}