🌍 Public
Viewing a saved revision (read-only)
407e49f3a4324604baf53b43b1df636b
Question 6
This scatter plot displays the relationship between sepal length and petal length for iris flowers, with each point’s shape encoding the species of the flower. The visualization includes labeled axes and a legend showing which symbol corresponds to which species. The chart is built using the d3.v7 library, leveraging functions like `scaleLinear`, `scaleOrdinal`, `symbolsFill`, and `axisLeft`/`axisBottom` from the `d3` module. The data is loaded from a CSV file containing the classic iris dataset, and the plot uses its own `scatterPlot` function to render the marks.
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.