dimple: Plot R data with dimple

Description Usage Arguments See Also

Description

Use Dimple with this htmlwidget. Dimple is a powerful javascript library based on d3.js. Dimple supports numerous chart types and is well documented.

Usage

1
2
3
dimple(data, x, type = "bubble", y = NULL, z = NULL, groups = NULL,
  group = NULL, storyboard = NULL, ..., pipe = F, width = NULL,
  height = NULL, elementId = NULL)

Arguments

data

a data.frame with the data to plot

x

formula y ~ x or column name(s) of x variable. Dimple can accept either a single or multiple column name(s) as x or y. If multiple column names for either x or y, then the formula method cannot be used.

type

a string indicating plot type ( bar, line, area, or bubble )

y

column name(s) of y variable if x is not a formula. Dimple can accept either a single or multiple column name(s) as y or y. If multiple column names for either x or y, then the formula method cannot be used.

groups

see group

group

column name(s) of groups. Dimple differs from other rCharts2 libraries in its ability to handle multiple fields or column names as groups.

storyboard

column name(s) with data for dimple.storyboard

...

various additional arguments to future-proof and provide undocumented functionality.

pipe

logical to return a Pipe.

width

width in pixels of the plot container. Plot width can be set separately (see setBounds).

height

height in pixels of the plot container. Plot height can be set separately (see setBounds).

elementId

string css selector id for the chart. If the elementId is NULL, a semi-random id will be assigned.

See Also

Other dimple: add_legend; add_title; default_colors; facet.dimple; set_bounds; xAxis.dimple, yAxis.dimple, zAxis.dimple


timelyportfolio/rcdimple documentation built on May 31, 2019, 2:02 p.m.