Skip to main content
100%

ICE 7 : Pie Chart

✓ Published0🌍 Public
Aavinashchinta99
Last edited Jul 3, 2022
Created on Jul 3, 2022

This interactive pie chart displays the total medals won by different countries, using a circular layout where each slice’s arc length corresponds to the count. Built with React and D3 v7, it fetches CSV data and renders SVG paths via d3.pie and d3.arc. The chart employs a linear color scale to differentiate countries, with labels and tooltips generated through d3.arc.centroid. Data comes from a public GitHub gist, and the visualization updates smoothly on new data, showcasing a clean, responsive design adapted from a line-chart template.

AI-generated description
MIT Licensed

Similar vizzes