Fork of [TEST] Pie Chart
✓ Published0🌍 Public
This example shows the cost of ten different phones as a pie chart, with a color-coded legend on the right side that lists each phone’s name and its price in dollars. The data is loaded from a CSV file hosted on a GitHub gist, sorted by descending price, and then rendered as SVG paths using `d3.pie` and `d3.arc`. Colors come from `d3.scaleOrdinal` with `schemeCategory10`, and mouseover events log price data to the console. The chart uses D3 v5.
AI-generated descriptionMIT Licensed