Two pending features to metricsgraphics

I’ve been slowly prodding the [metricsgraphics package]( 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 now be achieved (in the… Continue reading

metricsgraphics 0.8.5 is now on CRAN!

I’m super-pleased to announce that the Benevolent CRAN Overlords [accepted the metricsgraphics package]( into CRAN over the weekend. Now, you no longer need to rely on github/devtools to use [MetricsGraphics.js]( charts from your R scripts. If you’re not familiar with `htmlwidgets`, take a look at [the official site for them]( To make it easier to… Continue reading

A quick, incomplete comparison of ggplot2 & rbokeh plotting idioms

I set aside a small bit of time to give [rbokeh]( a try and figured I’d share a small bit of code that shows how to make the “same” chart in both ggplot2 and rbokeh. #### What is Bokeh/rbokeh? rbokeh is an [htmlwidget]( wrapper for the [Bokeh]( visualization library that has become quite popular in… Continue reading

Streamgraph htmlwidget version 0.7 released (adds support for markers & annotations)

In preparation for using some of our streamgraphs for production (PDF/print) graphics, I ended up having to hand-edit labels in on one of the graphics in an Adobe product. This bumped up the priority on adding annotation functions to the streamgraph package (you really don’t want to have to hand-edit graphics if at all possible,… Continue reading

Streamgraph package now supports continuous x axis scale

A post on [StackOverflow]( asked about using a continuous variable for the x-axis (vs dates) in my [streamgraph package]( While I provided a workaround for the question, it helped me bump up the priority for adding support for continuous x axis scales. With the [DBIR]( halfway behind me now, I kicked out a new rev… Continue reading

Introducing the streamgraph htmlwidget R Package

We were looking for a different type of visualization for a project at work this past week and my thoughts immediately gravitated towards [streamgraphs]( The TLDR on streamgraphs is they they are generalized versions of stacked area graphs with free baselines across the x axis. They are somewhat [controversial]( but have a “draw you in”… Continue reading

New release (0.7) of metricsgraphics htmlwidget — grids & rollovers

I’ve updated my [metricsgraphics]( package to version [0.7]( The core [MetricsGraphics]( 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 the plots. ### The Grid… Continue reading

New R Package: metricsgraphics

Mozilla released the [MetricsGraphics.js library]( back in November of 2014 ([gh repo]( 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 pondering building an R package… Continue reading