🌍 Public
Viewing a saved revision (read-only)
9b8220152bd542ad8ec41f3203845649
Activity_6 Task 3
This scatter plot visualizes the Iris dataset, showing the relationship between petal length and petal width for three iris species (setosa, versicolor, and virginica), with each species represented by a distinct color. The visualization uses D3.js v6 to load the data from a GitHub-hosted CSV, scale linearly based on data extents, and render circles in SVG. It displays axes with tick labels and axis titles, and positions the marks according to the petal dimensions, highlighting species-based color encoding.
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.