Tutorial3.1
✓ Published0🌍 Public
This scatter plot visualizes the Iris dataset, plotting petal length against petal width, with each point colored by species (skyblue for setosa, lightgreen for versicolor, and orange for virginica). It also encodes sepal length and width as the `rx` and `ry` attributes on each circle, though the rendering uses a constant radius. The visualization loads data via `d3.csv` from a GitHub gist, uses `d3.scaleLinear` and `d3.extent` for scales, and renders SVG circles with axes via `d3.axisLeft` and `d3.axisBottom`. Custom axis labels are added with rotated text.
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