Learn R Programming

metricsgraphics (version 0.9.0)

Create Interactive Charts with the JavaScript 'MetricsGraphics' Library

Description

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.

Copy Link

Version

Install

install.packages('metricsgraphics')

Monthly Downloads

38

Version

0.9.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

December 21st, 2015

Functions in metricsgraphics (0.9.0)

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

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