🌍 Public
Viewing a saved revision (read-only)
6fe82464e90943918ecf3d886c9dba51
Activity6question3
This scatter plot visualizes the Iris dataset, showing sepal length against petal length for three species of iris flowers. The D3.js v7 implementation uses d3.scaleLinear to map the quantitative axes and d3.scaleOrdinal with symbolsFill to encode species through distinct point shapes. A custom shape legend component displays the species categories, while the chart pulls data from a remote CSV file using d3.csvParse and renders the plot with SVG paths generated by d3.symbol.
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.