🌍 Public
Viewing a saved revision (read-only)
d7f99297c8c046d886ca6fd5a2ccb373
DV Task-9&10 (Q2)
This example visualizes the Iris dataset by displaying four overlapping area charts, one for each attribute (sepal length, sepal width, petal length, petal width), across the three iris species. The areas are rendered as colored SVG paths using `d3.area()` with a band scale on the x-axis and a linear scale on the y-axis. The code loads data via `d3.csv` from a GitHub repository, converts string values to numbers, and adds axes, labels, and a legend. The visualization uses D3 v7 and SVG rendering, with a light gray background and rotated x-axis labels.
AI-generated description