Fork of ICE - 7 Pie Chart Maanas Katta
✓ Published0🌍 Public
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 descriptionMIT Licensed