Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Pie Chart 11551417

Public visualization

Viewing a saved revision (read-only)

2d1d5220f8064ffdb3f99e58cde0e847

Pie Chart 11551417

0 stars0🌍 Public
SSrujana390
Last edited Mar 30, 2023
Created on Mar 30, 2023
Forked from Pie Chart

This example visualizes the subscriber counts of the top ten YouTube content categories, mapping each category to a colored slice of a pie chart. The chart uses D3.js v5 APIs including `pie`, `arc`, `scaleOrdinal` with `schemeCategory10`, and `csv` to load data from a GitHub gist. Rendered as SVG in a React project, the visualization displays a legend with category names and subscriber counts, formatted with a custom number formatter that appends "m" for millions.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.