Skip to main content
100%

Fork of pie chart

✓ Published2🌍 Public
Bbharathavulapati@gmail.com
Last edited Apr 1, 2025
Created on Apr 1, 2025
Forked from Fork of CE-7 Q2

A pie chart shows the total fruit yield from 2014 to 2024, with slices sized by each fruit's summed yearly values and sorted in descending order for readability. The visualization uses D3 v6's `d3.pie` and `d3.arc` to create the SVG paths, with `d3.scaleOrdinal` assigning colors from `d3.schemeCategory10`. A legend on the right maps each fruit to its colored box and total yield, built using D3's `selectAll` and `enter` operations. The underlying data comes from a CSV file fetched via `d3.csv` from a remote gist.

AI-generated description
MIT Licensed

Similar vizzes