Learn R Programming

rcdimple | htmlwidget for dimple

rcdimple is the htmlwidget version of the dimple piece in rCharts. The goal is beautiful, customizable d3.js charts straight from R with minimal code and no knowledge of JavaScript. To get started, it is easy to install using devtools::install_github.

devtools::install_github("timelyportfolio/rcdimple")

Lots of Examples

Then for a complete replication of the examples in dimple, just do a demo.

library(rcdimple)
demo(dimple)

For additional discussion, see the post Week 11 | dimple as htmlwidget announcing this widget at Building Widgets. Look for many, many more examples in the future.

Waffle Charts with rcdimple

rcdimple already makes waffle charts by collaborating with waffle.

Copy Link

Version

Version

0.1

License

MIT + file LICENSE

Maintainer

Last Published

February 15th, 2017

Functions in rcdimple (0.1)

set_bounds

Set the bounds or size of the chart within the svg container.
xAxis

Modify plot elements that relate to the x-axis.
%>%

pipe with magrittr importFrom; uses dplyr technique
xAxis.dimple

Modify plot elements that relate to the x and y axes of a dimple chart
facet.dimple

Add facets to a Dimple chart
facet

Modify plot elements that relate to the x-axis.
default_colors

Modify colors used in Dimple charts
dimple

Plot R data with dimple
yAxis

Modify plot elements that relate to the x-axis.
zAxis

Modify plot elements that relate to the x-axis.
add_title

Add a title to your chart
add_legend

Add a legend to a dimple chart