🌍 Public
Viewing a saved revision (read-only)
cfab4a40cf6d4738af2c9f1f5299254a
Assignment_2_1
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