Skip to main content
100%

ICE 7 Pie Chart

✓ Published0🌍 Public
EEeshwarReddy
Last edited Mar 25, 2023
Created on Mar 23, 2023
Forked from ICE - 7 Pie Chart

This example shows the top 10 countries and their total medal counts from the 2016 Olympics as a pie chart, with a legend listing each country and its numerical total. The chart is rendered as SVG using D3 v5, with the pie layout and arc generator creating the segments from a CSV dataset fetched from a GitHub gist. A scaleOrdinal maps the total values to a fixed array of section colors, and legend entries are built from the same pie data, formatting values with d3.format.

AI-generated description
MIT Licensed

Similar vizzes