Activity 7-5
✓ Published0🌍 Public
This example displays the classic Iris dataset as a scatter plot, mapping sepal length against petal length and encoding species with distinct symbol shapes. It renders points as scalable vector graphics using D3.js version 7, leveraging `scaleLinear`, `scaleOrdinal`, and `symbol` generators. The visualization includes labeled axes and a custom shape legend built with local ES6 modules. Data is loaded asynchronously from a remote CSV and parsed with `csvParse` before rendering.
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