Skip to main content
100%

Fork of ICE - 7 Pie Chart Maanas Katta

✓ Published0🌍 Public
Mmanthenasirisha06@gmail.com
Last edited Mar 27, 2024
Created on Mar 27, 2024

This example visualizes the calorie counts of McDonald's top 10 best-selling menu items in a pie chart, with a legend listing each item and its calorie value. It uses D3.js v7 to load CSV data, compute the pie layout with `d3.pie()`, and render the arcs using `d3.arc()`. The chart is drawn as an SVG, with a color scale (`d3.scaleOrdinal`) mapping each item to a distinct color. The data comes from a remote CSV file containing nutritional information, and the visualization emphasizes the relative caloric contribution of each item.

AI-generated description
MIT Licensed

Similar vizzes