Fork of Activity 7
✓ Published0🌍 Public
This example visualizes badminton player tournament wins as a pie chart, with each slice sized by the number of wins for 20 players from a CSV dataset. A legend lists player names with matching color swatches to identify each slice. The chart is built using D3 v6 APIs including `pie()`, `arc()`, `scaleOrdinal` with `schemeCategory10`, and `csv()` for data loading, rendered as SVG elements. Player names and win counts are parsed from a remote CSV file, and the visualization fills the browser window.
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