🌍 Public
Viewing a saved revision (read-only)
2f6c8c62b46d4ef6a76d0d0c14d0f312
bhavani
This example shows a pie chart of Iris flower species based on sepal length values, using data loaded from a remote CSV file via `d3.csv`. The chart renders as an SVG with colored arcs generated by `d3.pie` and `d3.arc`, while an adjacent HTML legend maps each species to its color using `d3.scaleOrdinal`. The visualization relies on D3 v7 APIs to bind data, compute arc paths, and update the DOM dynamically.
AI-generated description