🌍 Public
Viewing a saved revision (read-only)
46ddd9c360f1469ea9b415ce497c1b87
Krishna2
This example visualizes cricket player run totals as an interactive pie chart using the Iris dataset from a GitHub gist. The code uses D3.js v6.7.0 APIs including `d3.pie`, `d3.arc`, and `scaleOrdinal` to compute arc segments, colors, and labels. It renders an SVG with section labels, a legend showing player names and values, and uses `d3.csv` for asynchronous data loading.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.