Activity6_Task3
✓ Published0🌍 Public
This scatter plot visualizes the Iris dataset, mapping petal length and width on the x and y axes while coloring each point by species (setosa, versicolor, virginica). It uses D3 v6’s `csv`, `select`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to load and render the data as SVG circles. The chart also encodes sepal dimensions into the ellipses’ `rx` and `ry` attributes, though the radius remains constant. Data is fetched from a GitHub-hosted CSV file.
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