Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Pie Chart ICE 7(Revanth)

Public visualization

Viewing a saved revision (read-only)

bf30c373afed4899899ab8124cf502de

Pie Chart ICE 7(Revanth)

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

This pie chart visualizes the protein content (in grams) of various cereals, displaying each cereal as a colored slice with a corresponding legend. The chart uses D3 v5, reading CSV data from a GitHub gist, and renders the pie slices using the `pie` and `arc` functions. Each slice is filled based on the cereal name using a categorical color scale, while legends are appended with a rect and text, with protein values formatted using `format` and genre-specific styling.

AI-generated description