Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Chandrika of Pie Chart

Public visualization

Viewing a saved revision (read-only)

6e52e53f86b44e14b9f5e972e0a35b10

Chandrika of Pie Chart

0 stars0🌍 Public
Cchandrikachowdary867@gmail.com
Last edited Nov 6, 2024
Created on Apr 28, 2024
Forked from Pie Chart

This example visualizes world population distribution by country as a pie chart, with each slice labeled by its percentage and accompanied by a scrollable legend. It loads CSV data from a GitHub repository using `d3.csv`, converts the population percentages to numbers, and renders arcs with `d3.pie` and `d3.arc` in an SVG. Slice colors come from `d3.schemeCategory10`, while hover interactions show a tooltip with country and percentage details.

AI-generated description