Scatter plot shapes
✓ Published0🌍 Public
A scatter plot uses the Iris dataset to compare sepal length against sepal width, with each species distinguished by a unique geometric symbol rendered as SVG path data. D3’s `scaleOrdinal` maps species names to symbol strings from `d3.symbols`, which are then applied to `d3.symbol` shapes. The chart encodes data points as translucent steel-blue markers, with axes labeled using `axisBottom` and `axisLeft`. Data is loaded via `d3.csv` and scaled using `scaleLinear` for position.
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