d3scatter: Create a scatter plot

Description Usage Arguments Examples

View source: R/d3scatter.R

Description

Create a scatter plot

Usage

1
2
d3scatter(data, x, y, color = NULL, x_label = NULL, y_label = NULL,
  x_lim = NULL, y_lim = NULL, width = NULL, height = NULL)

Arguments

data

A data frame or SharedData object

x

One-sided formula indicating the column or expression for x values

y

One-sided formula indicating the column or expression for y values

color

One-sided formula indicating the column or expression for color values

x_label, y_label

Labels for axes

x_lim, y_lim

Two-element numeric vectors indicating the limits for axes

width, height

Override default size (see validateCssUnit)

Examples

1
d3scatter(iris, ~Sepal.Width, ~Sepal.Length, color = ~Species)

jcheng5/d3scatter documentation built on May 18, 2019, 10:21 p.m.