Skip to content
almossawi edited this page Nov 3, 2014 · 17 revisions

HomeList of OptionsScatterplot Options

Scatterplot Options

# color_accessor

The data element to map points' colors to. See main.js for an example.

Possible values: {null, string}

# color_range

The range of colors, used to color different groups of points.

Possible values: {['blue', 'red'], array}

# point_size

The radius of the dots in the scatterplot.

Possible values: {2.5, number}

# size_accessor

The data element to map points' sizes to.

# size_range

Specifies the range of point sizes, when point sizes are mapped to data, e.g. [1,5].

# lowess

Specifies whether to show a lowess line of best fit (to be added in v1.1).

Possible values: {false, true}

# ls

Specifies whether to show a least-squares line of best fit.

Possible values: {false, true}

Clone this wiki locally