🌍 Public
Viewing a saved revision (read-only)
5b9970d7554143b9b5d679dcde80a9f4
Activity6_Task3
This interactive scatter plot displays the Iris dataset, mapping petal length and width to the x and y axes. Each point is colored by species using a switch statement in JavaScript, with setosa in sky blue, versicolor in light green, and virginica in orange. Built with D3 v6, the visualization loads data from a GitHub CSV and uses `select`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to render the SVG chart.
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.