🌍 Public
Viewing a saved revision (read-only)
4887f5163fbb452498d55bfcef0db5f0
Activity 6_Question 4
This interactive scatter plot visualizes the Iris dataset, comparing sepal length against sepal width for three species. Each circle is colored by species using a d3.scaleOrdinal with d3.schemeCategory10, and interactive tooltips display the species name on hover. The visualization uses D3 v7 to create SVG elements, with axes, labels, and a legend generated through d3.axisBottom and d3.axisLeft. Data is loaded asynchronously from a CSV file via d3.csv.
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.