🌍 Public
Viewing a saved revision (read-only)
a8172dec7ebd4375805067c46fa1be50
task3 activity6
This scatter plot visualizes the Iris dataset, mapping petal length and width for individual flowers while coloring points by species (skyblue for setosa, lightgreen for versicolor, orange for virginica). Built with D3.js v6, it uses SVG circles and scaleLinear scales to position marks, with axisLeft and axisBottom generating the axes. The code loads CSV data via d3.csv, applies a color marker function based on species, and includes rotated axis labels for petal length and sepal length.
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.