🌍 Public
Viewing a saved revision (read-only)
541380d9b4a148a29558747ae49e9b46
Activity_6-Task-3.1
A scatter plot displays the Iris dataset, mapping petal length and width for each flower sample. Points are colored by species—skyblue for setosa, lightgreen for versicolor, and orange for virginica—revealing the distinct clustering of the three classes. The visualization loads data from a CSV file using d3.csv, scales the axes with d3.scaleLinear and extent, and renders circles as SVG elements. Axis labels and ticks are generated using d3.axisLeft and d3.axisBottom, with margins and viewport dimensions determining the chart layout.
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.