🌍 Public
Viewing a saved revision (read-only)
f336b3f5443647d3a16a258382e973fb
Activity_6_Task_3_3.2
This scatter plot visualizes the Iris dataset, showing petal length against sepal length with points colored and shaped by species. Points are rendered as SVG path marks, with the x- and y-axes labeled via d3.axisBottom and d3.axisLeft. A custom legend maps species names to distinct fill symbols using d3.scaleOrdinal and d3.symbolsFill. The chart uses d3.scaleLinear for both axes and d3.extent to compute domains, with data fetched from a remote CSV and parsed using d3.csvParse.
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.