Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Pie Charts

Public visualization

Viewing a saved revision (read-only)

9e311ad86d8842cfa54f44a30280934e

Pie Charts

0 stars1🌍 Public
AAsmabee Khan
Last edited Feb 22, 2020
Created on Feb 22, 2020
Forked from HTML Starter

This pie chart visualizes population distribution across rural areas using data loaded from a CSV file. Each slice represents an area with its total population, labeled with the area name. The chart is rendered with SVG and animated using D3 v4’s transition.attrTween to grow the arcs from zero to their final angles. Colors are assigned via d3.scaleOrdinal, and the pie and arc generators (d3.pie, d3.arc) compute the geometry. Labels are positioned using labelArc.centroid.

AI-generated description

A bare minimum HTML page.

See also React Starter.