🌍 Public
Viewing a saved revision (read-only)
4602b8b6dec24827b2fc292522c85a6b
Tutorila3 and 3.1
This scatter plot visualizes the Iris dataset, mapping petal length and width for individual flowers while distinguishing species through color: sky blue for setosa, light green for versicolor, and orange for virginica. The visualization is rendered as an SVG using D3 version 6.7.0, loading remote CSV data via `d3.csv`. Both axes use `d3.scaleLinear` with `d3.extent` for domain scaling, while `d3.axisLeft` and `d3.axisBottom` generate the tick marks and labels. Circle marks are appended with the `.join` operation, and the SVG is sized to the full browser window dimensions.
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.