Activity7 Fork of Scatter Plot with Shape
✓ Published0🌍 Public
This scatter plot displays the Iris dataset, mapping sepal and petal lengths on the x and y axes while using different shapes to distinguish the three species. The visualization loads data from a remote CSV file and uses D3 v7 APIs including `csvParse`, `scaleLinear`, `scaleOrdinal`, and `symbolsFill` to render the marks. A custom shape legend, built with `symbol` and `shapeLegend`, shows the species-to-shape mapping, while axes are added using `axisLeft` and `axisBottom`. The chart updates dynamically when the data is fetched and parsed.
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