Actvity6_Task3.2
✓ Published0🌍 Public
This example visualizes the Iris dataset, plotting sepal length against petal length in a scatter plot where each point’s shape encodes the species. The visualization uses D3 v7 APIs including `scaleLinear`, `scaleOrdinal`, `symbolsFill`, and `symbol` to generate shapes, along with custom axes and shape legend modules. Data is loaded asynchronously via CSV from a GitHub URL, parsed with `csvParse`, and rendered in an SVG that fills the viewport. The chart updates dynamically when the data arrives, with the legend positioned at a fixed coordinate.
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