Skip to main content
100%

Untitled

✓ Published0🌍 Public
LLG0498
Last edited Mar 11, 2022
Created on Mar 11, 2022
Forked from D3 Starter

This example shows a 3D scatter plot comparing two datasets, each displayed as a set of markers with distinct visual styling. It loads the `3d-scatter.csv` file from the Plotly datasets repository via D3’s CSV parser, then unpacks the x, y, and z coordinates for each trace using the `unpack` function. The visualization renders two `scatter3d` traces filled with circles of a fixed size, varied opacity, and either a light outline or solid gray color. The layout eliminates all margins, and the chart is drawn in the `myDiv` element using Plotly’s `newPlot` API.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes