

{"id":3827,"date":"2015-12-21T11:42:13","date_gmt":"2015-12-21T16:42:13","guid":{"rendered":"http:\/\/rud.is\/b\/?p=3827"},"modified":"2018-03-07T16:43:07","modified_gmt":"2018-03-07T21:43:07","slug":"update-to-metricsgraphics-0-9-0-now-on-cran","status":"publish","type":"post","link":"https:\/\/rud.is\/b\/2015\/12\/21\/update-to-metricsgraphics-0-9-0-now-on-cran\/","title":{"rendered":"Update to metricsgraphics 0.9.0 (now on CRAN)"},"content":{"rendered":"<p>It&#8217;s been a while since I&#8217;ve updated my [metricsgraphics package](https:\/\/cran.r-project.org\/web\/packages\/metricsgraphics\/index.html). The hit list for changes includes: <\/p>\n<p>&#8211; Fixes for the new ggplot2 release (metricsgraphics uses the `movies` data set which is now in ggplot2movies)<br \/>\n&#8211; Updated all javascript libraries to the most recent versions<br \/>\n&#8211; Borrowed the ability to add CSS rules to a widget from taucharts (`mjs_add_css_rule`)<br \/>\n&#8211; Added a metricsgraphics plugin to enable line chart region annotation (`mjs_annotate_region`)<br \/>\n&#8211; Enabled explicit coloring line\/area charts (it was a new feature in the underlying Metrics-Graphics library)<br \/>\n&#8211; You can use bare or quoted names when specifying the x &#038; y accessors and can also use a variable name<br \/>\n&#8211; You can now use the metricsgraphics title &#038; description capabilities, but doing so voids any predictable\/specified widget height\/width and the description functionality is really only suited for bootstrap templates<\/p>\n<p>I think all that can be demonstrated in the following snippet:<\/p>\n<pre lang=\"rsplus\">library(metricsgraphics)\r\n\r\ndat <- read.csv(\"http:\/\/real-chart.finance.yahoo.com\/table.csv?s=AAPL&#038;a=07&#038;b=9&#038;c=1996&#038;d=11&#038;e=21&#038;f=2015&#038;g=d&#038;ignore=.csv\",\r\n                stringsAsFactors=FALSE)\r\n\r\nDATE <- \"Date\"\r\n\r\ndat %>%\r\n  filter(Date>=\"2008-01-01\") %>% \r\n  mjs_plot(DATE, y=\"Low\", title=\"AAPL Stock (2008-Present)\", width=800, height=500) %>% \r\n  mjs_line(color=\"#6a3d9a\") %>% \r\n  mjs_add_line(High, color=\"#ff7f00\") %>% \r\n  mjs_axis_x(xax_format=\"date\") %>% \r\n  mjs_add_css_rule(\"{{ID}} .blk { fill:black }\") %>%\r\n  mjs_annotate_region(\"2013-01-01\", \"2013-12-31\", \"Volatility\", \"blk\") %>% \r\n  mjs_add_marker(\"2014-06-09\", \"Split\") %>% \r\n  mjs_add_marker(\"2012-09-12\", \"iPhone 5\") %>% \r\n  mjs_add_legend(c(\"Low\", \"High\"))<\/pre>\n<p><center><iframe loading=\"lazy\" style=\"max-width=100%\" \n        src=\"\/b\/iframes\/mjs\/aapl.html\" \n        sandbox=\"allow-same-origin \n        allow-scripts\" width=\"100%\" \n        height=\"600\" \n        scrolling=\"no\" \n        seamless=\"seamless\" \n        frameBorder=\"0\"><\/iframe><\/center><\/p>\n<p>NOTE: I&#8217;m still trying to figure out why WebKit on Safari renders the em dashes and Chrome does not.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s been a while since I&#8217;ve updated my [metricsgraphics package](https:\/\/cran.r-project.org\/web\/packages\/metricsgraphics\/index.html). The hit list for changes includes: &#8211; Fixes for the new ggplot2 release (metricsgraphics uses the `movies` data set which is now in ggplot2movies) &#8211; Updated all javascript libraries to the most recent versions &#8211; Borrowed the ability to add CSS rules to a widget [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3830,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[24,666,678,673,674,47,91],"tags":[810],"class_list":["post-3827","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-charts-graphs","category-d3","category-data-visualization","category-datavis-2","category-dataviz","category-metrics","category-r","tag-post"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Update to metricsgraphics 0.9.0 (now on CRAN) - rud.is<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/rud.is\/b\/2015\/12\/21\/update-to-metricsgraphics-0-9-0-now-on-cran\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Update to metricsgraphics 0.9.0 (now on CRAN) - rud.is\" \/>\n<meta property=\"og:description\" content=\"It&#8217;s been a while since I&#8217;ve updated my [metricsgraphics package](https:\/\/cran.r-project.org\/web\/packages\/metricsgraphics\/index.html). The hit list for changes includes: &#8211; Fixes for the new ggplot2 release (metricsgraphics uses the `movies` data set which is now in ggplot2movies) &#8211; Updated all javascript libraries to the most recent versions &#8211; Borrowed the ability to add CSS rules to a widget [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rud.is\/b\/2015\/12\/21\/update-to-metricsgraphics-0-9-0-now-on-cran\/\" \/>\n<meta property=\"og:site_name\" content=\"rud.is\" \/>\n<meta property=\"article:published_time\" content=\"2015-12-21T16:42:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-03-07T21:43:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2015\/12\/Google-ChromeScreenSnapz001.png?fit=813%2C539&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"813\" \/>\n\t<meta property=\"og:image:height\" content=\"539\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"hrbrmstr\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"hrbrmstr\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/12\\\/21\\\/update-to-metricsgraphics-0-9-0-now-on-cran\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/12\\\/21\\\/update-to-metricsgraphics-0-9-0-now-on-cran\\\/\"},\"author\":{\"name\":\"hrbrmstr\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#\\\/schema\\\/person\\\/d7cb7487ab0527447f7fda5c423ff886\"},\"headline\":\"Update to metricsgraphics 0.9.0 (now on CRAN)\",\"datePublished\":\"2015-12-21T16:42:13+00:00\",\"dateModified\":\"2018-03-07T21:43:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/12\\\/21\\\/update-to-metricsgraphics-0-9-0-now-on-cran\\\/\"},\"wordCount\":193,\"commentCount\":7,\"publisher\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#\\\/schema\\\/person\\\/d7cb7487ab0527447f7fda5c423ff886\"},\"image\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/12\\\/21\\\/update-to-metricsgraphics-0-9-0-now-on-cran\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2015\\\/12\\\/Google-ChromeScreenSnapz001.png?fit=813%2C539&ssl=1\",\"keywords\":[\"post\"],\"articleSection\":[\"Charts &amp; Graphs\",\"d3\",\"Data Visualization\",\"DataVis\",\"DataViz\",\"Metrics\",\"R\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/12\\\/21\\\/update-to-metricsgraphics-0-9-0-now-on-cran\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/12\\\/21\\\/update-to-metricsgraphics-0-9-0-now-on-cran\\\/\",\"url\":\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/12\\\/21\\\/update-to-metricsgraphics-0-9-0-now-on-cran\\\/\",\"name\":\"Update to metricsgraphics 0.9.0 (now on CRAN) - rud.is\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/12\\\/21\\\/update-to-metricsgraphics-0-9-0-now-on-cran\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/12\\\/21\\\/update-to-metricsgraphics-0-9-0-now-on-cran\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2015\\\/12\\\/Google-ChromeScreenSnapz001.png?fit=813%2C539&ssl=1\",\"datePublished\":\"2015-12-21T16:42:13+00:00\",\"dateModified\":\"2018-03-07T21:43:07+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/12\\\/21\\\/update-to-metricsgraphics-0-9-0-now-on-cran\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/12\\\/21\\\/update-to-metricsgraphics-0-9-0-now-on-cran\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/12\\\/21\\\/update-to-metricsgraphics-0-9-0-now-on-cran\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2015\\\/12\\\/Google-ChromeScreenSnapz001.png?fit=813%2C539&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2015\\\/12\\\/Google-ChromeScreenSnapz001.png?fit=813%2C539&ssl=1\",\"width\":813,\"height\":539},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/12\\\/21\\\/update-to-metricsgraphics-0-9-0-now-on-cran\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/rud.is\\\/b\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update to metricsgraphics 0.9.0 (now on CRAN)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#website\",\"url\":\"https:\\\/\\\/rud.is\\\/b\\\/\",\"name\":\"rud.is\",\"description\":\"&quot;In God we trust. All others must bring data&quot;\",\"publisher\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#\\\/schema\\\/person\\\/d7cb7487ab0527447f7fda5c423ff886\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/rud.is\\\/b\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#\\\/schema\\\/person\\\/d7cb7487ab0527447f7fda5c423ff886\",\"name\":\"hrbrmstr\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/ukr-shield.png?fit=460%2C460&ssl=1\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/ukr-shield.png?fit=460%2C460&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/ukr-shield.png?fit=460%2C460&ssl=1\",\"width\":460,\"height\":460,\"caption\":\"hrbrmstr\"},\"logo\":{\"@id\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/ukr-shield.png?fit=460%2C460&ssl=1\"},\"description\":\"Don't look at me\u2026I do what he does \u2014 just slower. #rstats avuncular \u2022 ?Resistance Fighter \u2022 Cook \u2022 Christian \u2022 [Master] Chef des Donn\u00e9es de S\u00e9curit\u00e9 @ @rapid7\",\"sameAs\":[\"http:\\\/\\\/rud.is\"],\"url\":\"https:\\\/\\\/rud.is\\\/b\\\/author\\\/hrbrmstr\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Update to metricsgraphics 0.9.0 (now on CRAN) - rud.is","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/rud.is\/b\/2015\/12\/21\/update-to-metricsgraphics-0-9-0-now-on-cran\/","og_locale":"en_US","og_type":"article","og_title":"Update to metricsgraphics 0.9.0 (now on CRAN) - rud.is","og_description":"It&#8217;s been a while since I&#8217;ve updated my [metricsgraphics package](https:\/\/cran.r-project.org\/web\/packages\/metricsgraphics\/index.html). The hit list for changes includes: &#8211; Fixes for the new ggplot2 release (metricsgraphics uses the `movies` data set which is now in ggplot2movies) &#8211; Updated all javascript libraries to the most recent versions &#8211; Borrowed the ability to add CSS rules to a widget [&hellip;]","og_url":"https:\/\/rud.is\/b\/2015\/12\/21\/update-to-metricsgraphics-0-9-0-now-on-cran\/","og_site_name":"rud.is","article_published_time":"2015-12-21T16:42:13+00:00","article_modified_time":"2018-03-07T21:43:07+00:00","og_image":[{"width":813,"height":539,"url":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2015\/12\/Google-ChromeScreenSnapz001.png?fit=813%2C539&ssl=1","type":"image\/png"}],"author":"hrbrmstr","twitter_card":"summary_large_image","twitter_misc":{"Written by":"hrbrmstr","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/rud.is\/b\/2015\/12\/21\/update-to-metricsgraphics-0-9-0-now-on-cran\/#article","isPartOf":{"@id":"https:\/\/rud.is\/b\/2015\/12\/21\/update-to-metricsgraphics-0-9-0-now-on-cran\/"},"author":{"name":"hrbrmstr","@id":"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886"},"headline":"Update to metricsgraphics 0.9.0 (now on CRAN)","datePublished":"2015-12-21T16:42:13+00:00","dateModified":"2018-03-07T21:43:07+00:00","mainEntityOfPage":{"@id":"https:\/\/rud.is\/b\/2015\/12\/21\/update-to-metricsgraphics-0-9-0-now-on-cran\/"},"wordCount":193,"commentCount":7,"publisher":{"@id":"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886"},"image":{"@id":"https:\/\/rud.is\/b\/2015\/12\/21\/update-to-metricsgraphics-0-9-0-now-on-cran\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2015\/12\/Google-ChromeScreenSnapz001.png?fit=813%2C539&ssl=1","keywords":["post"],"articleSection":["Charts &amp; Graphs","d3","Data Visualization","DataVis","DataViz","Metrics","R"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/rud.is\/b\/2015\/12\/21\/update-to-metricsgraphics-0-9-0-now-on-cran\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/rud.is\/b\/2015\/12\/21\/update-to-metricsgraphics-0-9-0-now-on-cran\/","url":"https:\/\/rud.is\/b\/2015\/12\/21\/update-to-metricsgraphics-0-9-0-now-on-cran\/","name":"Update to metricsgraphics 0.9.0 (now on CRAN) - rud.is","isPartOf":{"@id":"https:\/\/rud.is\/b\/#website"},"primaryImageOfPage":{"@id":"https:\/\/rud.is\/b\/2015\/12\/21\/update-to-metricsgraphics-0-9-0-now-on-cran\/#primaryimage"},"image":{"@id":"https:\/\/rud.is\/b\/2015\/12\/21\/update-to-metricsgraphics-0-9-0-now-on-cran\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2015\/12\/Google-ChromeScreenSnapz001.png?fit=813%2C539&ssl=1","datePublished":"2015-12-21T16:42:13+00:00","dateModified":"2018-03-07T21:43:07+00:00","breadcrumb":{"@id":"https:\/\/rud.is\/b\/2015\/12\/21\/update-to-metricsgraphics-0-9-0-now-on-cran\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rud.is\/b\/2015\/12\/21\/update-to-metricsgraphics-0-9-0-now-on-cran\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/rud.is\/b\/2015\/12\/21\/update-to-metricsgraphics-0-9-0-now-on-cran\/#primaryimage","url":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2015\/12\/Google-ChromeScreenSnapz001.png?fit=813%2C539&ssl=1","contentUrl":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2015\/12\/Google-ChromeScreenSnapz001.png?fit=813%2C539&ssl=1","width":813,"height":539},{"@type":"BreadcrumbList","@id":"https:\/\/rud.is\/b\/2015\/12\/21\/update-to-metricsgraphics-0-9-0-now-on-cran\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/rud.is\/b\/"},{"@type":"ListItem","position":2,"name":"Update to metricsgraphics 0.9.0 (now on CRAN)"}]},{"@type":"WebSite","@id":"https:\/\/rud.is\/b\/#website","url":"https:\/\/rud.is\/b\/","name":"rud.is","description":"&quot;In God we trust. All others must bring data&quot;","publisher":{"@id":"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rud.is\/b\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886","name":"hrbrmstr","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/10\/ukr-shield.png?fit=460%2C460&ssl=1","url":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/10\/ukr-shield.png?fit=460%2C460&ssl=1","contentUrl":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/10\/ukr-shield.png?fit=460%2C460&ssl=1","width":460,"height":460,"caption":"hrbrmstr"},"logo":{"@id":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/10\/ukr-shield.png?fit=460%2C460&ssl=1"},"description":"Don't look at me\u2026I do what he does \u2014 just slower. #rstats avuncular \u2022 ?Resistance Fighter \u2022 Cook \u2022 Christian \u2022 [Master] Chef des Donn\u00e9es de S\u00e9curit\u00e9 @ @rapid7","sameAs":["http:\/\/rud.is"],"url":"https:\/\/rud.is\/b\/author\/hrbrmstr\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2015\/12\/Google-ChromeScreenSnapz001.png?fit=813%2C539&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p23idr-ZJ","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":3243,"url":"https:\/\/rud.is\/b\/2015\/02\/01\/new-release-0-7-of-metricsgraphics-htmlwidget-grids-rollovers\/","url_meta":{"origin":3827,"position":0},"title":"New release (0.7) of metricsgraphics htmlwidget \u2014 grids &#038; rollovers","author":"hrbrmstr","date":"2015-02-01","format":false,"excerpt":"I've updated my [metricsgraphics](https:\/\/github.com\/hrbrmstr\/metricsgraphics) package to version [0.7](https:\/\/github.com\/hrbrmstr\/metricsgraphics\/releases\/tag\/v0.7). The core [MetricsGraphics](http:\/\/metricsgraphicsjs.org) JavaScript library has been updated to version 2.1.0 (from 1.1.0). Two blog-worthy features since releasing version 0.5 are `mjs_grid` (which is a `grid.arrange`-like equivalent for `metricsgraphics` plots and `mjs_add_rollover` which lets you add your own custom rollover text to\u2026","rel":"","context":"In &quot;Charts &amp; Graphs&quot;","block_context":{"text":"Charts &amp; Graphs","link":"https:\/\/rud.is\/b\/category\/charts-graphs\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3460,"url":"https:\/\/rud.is\/b\/2015\/06\/15\/metricsgraphics-0-8-5-is-now-on-cran\/","url_meta":{"origin":3827,"position":1},"title":"metricsgraphics 0.8.5 is now on CRAN!","author":"hrbrmstr","date":"2015-06-15","format":false,"excerpt":"I'm super-pleased to announce that the Benevolent CRAN Overlords [accepted the metricsgraphics package](http:\/\/cran.r-project.org\/web\/packages\/metricsgraphics\/index.html) into CRAN over the weekend. Now, you no longer need to rely on github\/devtools to use [MetricsGraphics.js](http:\/\/metricsgraphicsjs.org\/) charts from your R scripts. If you're not familiar with `htmlwidgets`, take a look at [the official site for them](http:\/\/www.htmlwidgets.org\/).\u2026","rel":"","context":"In &quot;d3&quot;","block_context":{"text":"d3","link":"https:\/\/rud.is\/b\/category\/d3\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3493,"url":"https:\/\/rud.is\/b\/2015\/07\/05\/two-pending-features-to-metricsgraphics\/","url_meta":{"origin":3827,"position":2},"title":"Two pending features to metricsgraphics","author":"hrbrmstr","date":"2015-07-05","format":false,"excerpt":"I've been slowly prodding the [metricsgraphics package](https:\/\/github.com\/hrbrmstr\/metricsgraphics\/) towards a 1.0.0 release, but there are some rough edges that still need sorting out. One of them is the ability to handle passing in variables for the `x` & `y` accessor values (you _can_ pass in bare and quoted strings). This can\u2026","rel":"","context":"In &quot;Charts &amp; Graphs&quot;","block_context":{"text":"Charts &amp; Graphs","link":"https:\/\/rud.is\/b\/category\/charts-graphs\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3194,"url":"https:\/\/rud.is\/b\/2015\/01\/08\/new-r-package-metricsgraphics\/","url_meta":{"origin":3827,"position":3},"title":"New R Package: metricsgraphics","author":"hrbrmstr","date":"2015-01-08","format":false,"excerpt":"Mozilla released the [MetricsGraphics.js library](http:\/\/metricsgraphicsjs.org\/) back in November of 2014 ([gh repo](https:\/\/github.com\/mozilla\/metrics-graphics)) and was greeted with great fanfare. It's primary focus is on crisp, clean layouts for interactive time-series data, but they have support for other chart types as well (though said support is far from comprehensive). I had been\u2026","rel":"","context":"In &quot;Charts &amp; Graphs&quot;","block_context":{"text":"Charts &amp; Graphs","link":"https:\/\/rud.is\/b\/category\/charts-graphs\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1786,"url":"https:\/\/rud.is\/b\/2012\/11\/18\/speaking-at-rsa-conference-2013\/","url_meta":{"origin":3827,"position":4},"title":"Speaking At RSA Conference 2013!","author":"hrbrmstr","date":"2012-11-18","format":false,"excerpt":"Earlier this week, @jayjacobs & I both received our acceptance notice for the talk we submitted to the RSA CFP! [W00t!] Now the hard part: crank out a compelling presentation in the next six weeks! If you're interested at all in doing more with your security data, this talk is\u2026","rel":"","context":"In &quot;Charts &amp; Graphs&quot;","block_context":{"text":"Charts &amp; Graphs","link":"https:\/\/rud.is\/b\/category\/charts-graphs\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1136,"url":"https:\/\/rud.is\/b\/2012\/05\/31\/slopegraphs-in-python-attention-to-detail\/","url_meta":{"origin":3827,"position":5},"title":"Slopegraphs in Python \u2013 Attention to Detail","author":"hrbrmstr","date":"2012-05-31","format":false,"excerpt":"In the previous installment, a foundation was laid for \"parameterizing\" fonts, colors and overall slopegraph size. However, a big failing in all this code (up until now) was the reliance on character string length to determine label width. When working with fonts, the font metrics are more important since a\u2026","rel":"","context":"In &quot;Charts &amp; Graphs&quot;","block_context":{"text":"Charts &amp; Graphs","link":"https:\/\/rud.is\/b\/category\/charts-graphs\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/posts\/3827","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/comments?post=3827"}],"version-history":[{"count":0,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/posts\/3827\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/media\/3830"}],"wp:attachment":[{"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/media?parent=3827"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/categories?post=3827"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/tags?post=3827"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}