Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Fork of Fork of Fork of chart 6

Public visualization

Fork of Fork of Fork of Fork of Fork of chart 6

0 stars0🌍 Public
Ssriharshithaanugu5@gmail.com
Last edited Apr 7, 2025
Created on Apr 6, 2025

This pie chart displays the top 10 countries by player potential from a CSV dataset, with each slice labeled by country name. The visualization uses D3.js v7 with the `d3.pie()` and `d3.arc()` APIs to compute the pie geometry, while `d3.scaleOrdinal()` with `d3.schemeSet3` assigns colors to each country. The chart is rendered as an SVG, with the data loaded via `d3.csv()` and sorted before selecting the top ten entries.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed