Task9_Question1
✓ Published1🌍 Public
This example displays a pie chart of the top 15 run-scorers in the 2022 IPL season, sourced from a CSV file hosted on GitHub. The visualization uses D3 v5 to load and parse the data, sort it by runs, and render the chart with SVG paths. It employs `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` with `schemeCategory10` for coloring, adding a legend with rectangles and labels. Mouseover events log player names to the console.
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.
MIT Licensed