Activity 7_Task 3
✓ Published0🌍 Public
This scatter plot displays the Iris dataset, mapping sepal length on the x-axis and petal length on the y-axis, with species distinguished by different symbol shapes. The visualization uses D3 v7 APIs including `scaleLinear`, `scaleOrdinal`, `symbolsFill`, `axisLeft`, and `axisBottom` to render marks, axes, and a custom shape legend. Data is loaded asynchronously via `fetch` and parsed with `csvParse` from a remote CSV file. The chart updates responsively to the browser window dimensions.
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