🌍 Public
Viewing a saved revision (read-only)
322e4d7eff0648aaa80161224ec98761
Fork of Activity_6_Task3_Tutorial3.2
This example creates a scatter plot comparing sepal length to petal length for iris flowers, with species distinguished by symbol shape. It loads data from a remote CSV file using D3's `csvParse` and renders the chart with D3 v7. The visualization uses `scaleLinear` for axes, `scaleOrdinal` with `symbolsFill` for shapes, and a custom legend. Axes are built with `axisLeft` and `axisBottom`, while the shape legend is generated using D3's `symbol` generator, all composed through modular ES6 imports.
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.