🌍 Public
Viewing a saved revision (read-only)
a8301de31da84db8bf852fce6b4a438f
Activity6_Task3
This visualization shows a scatter plot of the Iris dataset, mapping petal length on the x-axis and petal width on the y-axis, with each species (setosa, versicolor, virginica) colored using custom markers—skyblue, lightgreen, and orange respectively. The plot also encodes sepal dimensions by setting each circle’s rx and ry attributes to the sepal length and width values, creating elliptical shapes. The code uses d3.csv to load data, d3.scaleLinear with extent for scales, and d3.axisLeft and d3.axisBottom for labeled axes. SVG circles are joined to the data, with axis labels added as text elements.
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.