d3_3dpoint | R Documentation |
d3_3dpoint
creates a 3-dimensional scatter plot.
d3_3dpoint(data, ...)
data |
data in JSON format, created by d3plot() or from another source |
radius |
(optional) Affects the size of the dots, numerical scale |
orient |
(optional) Affects the starting orientation of the graph, pass in a string with any combination of two axis "Xy" |
xLabel |
(optional) Changes the label of the x axis from "x" to specified string |
yLabel |
(optional) Changes the label of the y axis from "y" to specified string |
zLabel |
(optional) Changes the label of the x axis from "x" to specified string |
dataMargin |
(optional) Affects the margin of domain around the data, numerical percentage 0-100 |
xMin |
(optional) Changes the start of the x axis domain to the specified number, numerical |
xMax |
(optional) Changes the end of the x axis domain to the specified number, numerical |
yMin |
(optional) Changes the start of the y axis domain to the specified number, numerical |
yMax |
(optional) Changes the end of the y axis domain to the specified number, numerical |
zMin |
(optional) Changes the start of the z axis domain to the specified number, numerical |
zMax |
(optional) Changes the end of the z axis domain to the specified number, numerical |
labelFontSize |
(optional) Affects the size of the axis labels, numerical best between 5-20 |
numTicks |
(optional) Affects the number of ticks, numerical |
tickSize |
(optional) Affects the size of axis ticks, numerical |
tickNumbers |
(optional) Adds numbers of to tick marks, boolean |
tickFontSize |
(optional) Affects the size of the tickNumbers, numerical best between 5-20 |
opacity |
(optional) Affects the opacity of the dots, 0-1 scale |
labelColor |
(optional) Affects the color of the axis labels and ticks, string css colors |
axisColor |
(optional) Affects the color of the axis, string css colors |
stems |
(optional) Adds stems that connect to each point, boolean |
stemsOpacity |
(optional) Affects the opacirt of the stems, 0-1 scale |
gridLines |
(optional) Adds gridLines to the zx axis |
backgroundColor |
(optional) Affects the background color of the graph, string css colors |
browser |
(mandatory/optional) If code editor has viewer browser is optional if not browser opens visual in a browser window |
## Not run: d3plot(x = Sepal.Length, y = Sepal.Width, z = Petal.Length, color = Species, data = iris) |> d3_3dpoint() d3plot(x = cyl, y = gear, z = wt, color = vs, data = mtcars) |> d3_3dpoint() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.