3D Scatter (Plotly)
Three-dimensional point cloud coloured by a fourth variable.
Rendering…
Make it your own.
{
"data": [
{
"type": "scatter3d",
"mode": "markers",
"x": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
"y": [2, 1, 4, 3, 6, 5, 8, 7, 10, 9],
"z": [3, 4, 2, 5, 4, 7, 6, 9, 8, 11],
"marker": {"size": 5, "color": [3, 4, 2, 5, 4, 7, 6, 9, 8, 11], "colorscale": "Viridis", "opacity": 0.9}
}
],
"layout": {
"title": "3D scatter",
"scene": {"xaxis": {"title": "X"}, "yaxis": {"title": "Y"}, "zaxis": {"title": "Z"}}
}
}