Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment_2_1

Public visualization

Viewing a saved revision (read-only)

451b6ca40fe740668a598dec18f6b3ad

Assignment_2_1

0 stars1🌍 Public
MMadhusudhan Reddy Kuppam
Last edited Mar 26, 2025
Created on Mar 26, 2025
Forked from Hello VizHub

This pie chart visualizes the distribution of cereals by manufacturer, using data from a remote CSV file. The chart displays the proportion of cereals for each manufacturer, with each slice labeled by its manufacturer code and colored via `d3.scaleOrdinal` and `d3.schemeCategory10`. The visualization is built using D3 v7, with pie slices generated by `d3.pie` and `d3.arc`, and includes a legend mapping codes to full manufacturer names. The SVG rendering is composed through `d3.select` and dynamic joins for paths and text labels.

AI-generated description