Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 Pie Chart - 11641166

Public visualization

D3 Pie Chart - 11641166

0 stars2🌍 Public
SSuresh John Wesly
Last edited Mar 26, 2023
Created on Mar 25, 2023
Forked from D3 Starter

This example visualizes the top 10 countries by total medals from the 2020 Summer Olympics dataset. It displays a pie chart with color-coded segments and corresponding medal counts, alongside a legend showing country names, medal values, and color swatches. The visualization uses D3 v7 APIs such as `d3.csv`, `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` with `schemeTableau10`. Data is loaded from a remote CSV file, sorted, and rendered as an SVG with interactive mouseover logging.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed