Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-7:Pie chart of students in each country

Public visualization

ICE-7:Pie chart of students in each country

0 stars0🌍 Public
Ssagamreddy929@gmail.com
Last edited Mar 28, 2024
Created on Mar 27, 2024
Forked from Presentation_task3

A pie chart displays the distribution of student population in millions across countries, with each slice proportionally sized and color-coded. A legend identifies country names, and a table below lists exact numerical values. The visualization uses D3.js v7, fetching CSV data from a gist URL, and employs `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` for construction. Labels are positioned using `labelArc.centroid`, and slices include tooltips via `append('title')`. The SVG renders the chart, while HTML table elements show the underlying data.

AI-generated description

This is a Pie chart

Comments

Sign in to join the discussion.

MIT Licensed