🌍 Public
Viewing a saved revision (read-only)
2362e90d7ba84730861ff410cf6c7f32
BHAVANI MANDULA TASK 9
This visualization displays an Iris dataset’s sepal length as a pie chart, using D3.js to transform CSV data into proportional arc segments. Each slice’s color corresponds to a species, with a legend mapping colors to species names. The code uses `d3.csv` to load the dataset, `d3.pie` and `d3.arc` for chart geometry, and `d3.scaleOrdinal` with `d3.schemeCategory10` for categorical coloring. SVG rendering creates the pie chart, while HTML divs form the legend.
AI-generated description