Untitled
✓ Published0🌍 Public
This example shows a 3D scatterplot of the Iris dataset, plotting sepal length, sepal width, and petal length as coordinates for each sample. The code loads data from a CSV file using D3’s `d3.csv` and then constructs a single `scatter3d` trace with Plotly.js, rendering it into a `div` via `Plotly.newPlot`. Markers are styled with size, opacity, and a light border. The layout removes all margins, producing a minimal visual that highlights the distribution of the three measured features.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed