metricsgraphics v0.9.0


Monthly downloads



Create Interactive Charts with the JavaScript 'MetricsGraphics' Library

Provides an 'htmlwidgets' interface to the 'MetricsGraphics.js' ('D3'-based) charting library which is geared towards displaying time-series data. Chart types include line charts, scatterplots, histograms and rudimentary bar charts. Support for laying out multiple charts into a grid layout is also provided. All charts are interactive and many have an option for line, label and region annotations.

Functions in metricsgraphics

Name Description
mjs_add_legend Adds a legend to a metricsgraphics chart
mjs_axis_x Configure x axis ticks & limits
mjs_add_marker Sets a marker line/label
mjs_hist Shortcut for plotting MetricsGraphics histograms
metricsgraphics An htmlwidget interface to the MetricsGraphics.js D3 chart library
mjs_add_confidence_band Add a confidence band to line plot
mjs_point metricsgraphics.js scatterplot "geom"
mjs_add_css_rule Add a CSS rule to the rendered htmlwidget
mjs_grid Lays out metricsgraphics widgets into a "grid", similar to grid.arrange from gridExtra
mjs_add_baseline Sets a baseline line/label
metricsgraphicsOutput Widget output function for use in Shiny
mjs_add_mouseover Adds a custom rollover to a metricsgraphics chart
mjs_annotate_region Region annotations for line charts [EXPERIMENTAL]
mjs_bar metricsgraphics.js bar chart "geom"
renderMetricsgraphics Widget render function for use in Shiny
mjs_histogram Plot Histograms with MetrisGraphics
mjs_line metricsgraphics.js linechart "geom"
mjs_labs Configure axis labels & plot description
mjs_axis_y Configure y axis ticks & limits
mjs_plot Create a new metricsgraphics.js plot
mjs_add_line Add a new line to a metricsgraphics.js linechart "geom"
metricsgraphics-exports metricsgraphics exported operators
No Results!

Last month downloads


Type Package
Date 2015-12-21
License MIT + file LICENSE
VignetteBuilder knitr
RoxygenNote 5.0.1
NeedsCompilation no
Packaged 2015-12-21 12:19:51 UTC; hrbrmstr
Repository CRAN
Date/Publication 2015-12-21 15:29:04

Include our badge in your README