Skip to main content
100%

Fork of ICE - 7 Pie chart viz

✓ Published0🌍 Public
Cchandrikachowdary867@gmail.com
Last edited Nov 6, 2024
Created on Nov 6, 2024

This example shows the distribution of world population percentages across the top 10 countries using a pie chart. The visualization renders each country as a pie slice with a corresponding percentage label and an interactive tooltip that displays country details on hover. A legend lists the countries with their population percentages and colors. Built with D3.js v6, the chart uses d3.pie to compute arc angles, d3.arc to generate SVG path segments, and d3.schemeCategory10 for slice colors. Data is loaded from a CSV file hosted on GitHub.

AI-generated description
MIT Licensed

Similar vizzes