Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Amulya kannam

Public visualization

Viewing a saved revision (read-only)

d04630f0cd984f989c3e2667c385d5ba

Amulya kannam

0 stars0🌍 Public
KkannamAmulyachowdary
Last edited Jul 2, 2022
Created on Jun 29, 2022
Forked from Fork of Pie Chart

This visualization shows the protein content in grams for various cereals as a pie chart, with each slice colored and labeled via a legend that displays both the cereal name and its protein value. The chart is rendered in SVG using D3.js v5, where the `pie()` and `arc()` functions generate the segments, and `scaleOrdinal` assigns colors. Data is loaded asynchronously from a CSV file hosted on GitHub using `d3.csv` (via `getData.js`), then formatted with `d3.format` for the legend labels. The page title and heading are styled with red text via CSS.

AI-generated description