TASK-3
✓ Published0🌍 Public
This example demonstrates a scatter plot of the Iris dataset, showing sepal length against petal length with points shaped by species. The visualization loads the CSV data from a GitHub repository and uses D3 v7 APIs including `scaleLinear`, `scaleOrdinal`, `symbol`, and `axisLeft`/`axisBottom` to render axes and points. A custom legend displays the three species using different symbol shapes, while the code exercises local ES6 module imports alongside D3’s bundled version. The chart rescales to fit the viewport dimensions on load.
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