Skip to main content
100%

Fork of Activity 7

✓ Published0🌍 Public
VVarshith Peddineni
Last edited Nov 6, 2024
Created on Nov 6, 2024
Forked from Activity 7

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes