Tutorial-3
✓ Published0🌍 Public
This scatter plot visualizes the Iris dataset, mapping petal and sepal dimensions with color-coded species. It loads the data via D3’s `csv` function from a GitHub gist and uses `scaleLinear`, `extent`, and `axisLeft`/`axisBottom` to build the axes. Circles are drawn in SVG with the `join` pattern, each colored by species (setosa, versicolor, or virginica). Axis labels are added as SVG text, with the visualization sized to the full window.
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