🌍 Public
Viewing a saved revision (read-only)
22b81f1bffd44655a443e949c55ebd8f
Task8_Tutorial
This example visualizes the Iris dataset as a scatter plot, showing petal length versus petal width for individual flowers. Points are colored by species (skyblue, lightgreen, or orange) and also encode sepal measurements through their radii. The code loads CSV data via `d3.csv`, uses `d3.scaleLinear` for axes and scales, and renders SVG circles with `d3.axisLeft` and `d3.axisBottom`. Axis labels are rotated, and styling is set with HTML and CSS.
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.