🌍 Public
Viewing a saved revision (read-only)
c111ecffcfa247b88276bf927448ca04
T8 Q3 tutorial
This example visualizes the Iris dataset as a scatter plot, mapping petal length and width to the x- and y-axes while coloring each point by species (setosa, versicolor, or virginica) using skyblue, lightgreen, or orange. The plot is rendered as SVG circles using D3 v6, with data loaded via `d3.csv` from a remote GitHub URL and scaled using `scaleLinear`. Axes are drawn with `axisLeft` and `axisBottom`, and the chart fills the browser window with fixed margins and a red title.
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.