Skip to main content
100%

Fork of [TEST] Pie Chart

✓ Published0🌍 Public
Ppanduvik99@gmail.com
Last edited Mar 27, 2024
Created on Mar 27, 2024
Forked from [TEST] Pie Chart

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 description
MIT Licensed

Similar vizzes