🌍 Public
Viewing a saved revision (read-only)
7ea80973b9bf410f9a30721f4287ad87
ACTIVITY_6_3(1)
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 point colored by species (skyblue for setosa, lightgreen for versicolor, orange for virginica). It uses d3.csv to load the data and d3.scaleLinear, d3.extent, and the axis functions d3.axisLeft and d3.axisBottom to render the plot as SVG circles. The code also includes labels for petal length and sepal length, though the latter describes the x-axis incorrectly.
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.