🌍 Public
Viewing a saved revision (read-only)
c74e86045975468bbe11c6b5b7ea714c
Fork of Scatter Plot with Shape
A scatter plot shows sepal length against petal length for the Iris dataset, with each species represented by a distinct symbol shape and a legend mapping species to shapes. The visualization loads CSV data via `fetch` and `csvParse`, then renders marks using D3’s `symbol`, `scaleLinear`, `scaleOrdinal`, and `symbolsFill`. Axes and labels are added through custom ES6 modules (`axes.js`, `scatterPlot.js`) using `axisLeft`, `axisBottom`, and D3 selections.
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.