🌍 Public
Viewing a saved revision (read-only)
d4dd89cbe7904d059d08e4f37bd6a67d
Activtiy-6--tutorial-3.1
This scatter plot visualizes the Iris dataset, mapping petal length and width for each sample. Points are colored by species: skyblue for setosa, lightgreen for versicolor, and orange for virginica. The visualization uses D3 v6, loading data from a remote CSV and rendering circles to an SVG canvas. It employs D3's `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` functions to create the axes, while the data is parsed on load to extract numeric values for the plot.
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.