🌍 Public
Viewing a saved revision (read-only)
b97dc1cdc48b4c24ab291e2dedbe2541
Tutorial Activity6_Task3.2
This interactive scatter plot displays the relationship between sepal length and petal length for three iris species, distinguished by different D3 symbol shapes. Using d3.scaleLinear for axes and d3.scaleOrdinal with symbolsFill for shapes, it renders SVG paths via the d3.symbol generator. A custom shapeLegend displays species categories. Data is loaded asynchronously via fetch and parsed with d3.csvParse from a remote CSV file, with numeric fields converted before plotting.
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.