Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Pie Chart ICE 7

Public visualization

Viewing a saved revision (read-only)

4b22eb1241ad4fc795495de6b1855b93

Pie Chart ICE 7

0 stars1🌍 Public
AArv1228
Last edited Mar 27, 2022
Created on Mar 27, 2022

A pie chart visualizes the top 10 Tollywood heroes and the number of movies they have appeared in, with each slice color-coded and labeled, alongside a legend showing hero names and raw values. The chart uses D3 v5's `pie`, `arc`, and `scaleOrdinal` to generate the SVG sectors and colors, while `d3.csv` fetches the dataset from a GitHub Gist. Text labels are positioned using `arcGenerator.centroid` to place numbers at the slice centers, and the surrounding HTML/CSS styles the page title and typography.

AI-generated description