Activity6_Q3
✓ Published0🌍 Public
This scatter plot visualizes the Iris flower dataset, mapping petal length and width for individual data points on a two-dimensional grid. Each circle is colored by species (skyblue for setosa, lightgreen for versicolor, orange for virginica) using D3 v6’s `csv` loader and `scaleLinear` scales. The SVG rendering uses `axisLeft` and `axisBottom` for axes, with custom label text for petal length and sepal length. The code imports D3 from UNPKG and demonstrates local ES6 module usage through the `main` async function.
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.
MIT Licensed