shape
✓ Published2🌍 Public
This interactive scatter plot displays the Iris dataset, showing sepal length against petal length with a point's shape encoding its species. The visualization includes axes, axis labels, and a custom legend for the shape encoding. It uses D3 v7, specifically `scaleLinear` for scaling, `scaleOrdinal` for the shape mapping, and `symbolGenerator.type().size()` to draw the points. Data is loaded from a GitHub-hosted CSV and parsed via `csvParse`. The chart dynamically updates based on the window size.
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