🌍 Public
Viewing a saved revision (read-only)
acf93050a3614317b9e69d7a38f30ea0
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.