Skip to main content
100%

Fork of Piechart ICE - 7

✓ Published0🌍 Public
Mmosesimmanuelvemana@my.unt.edu
Last edited Mar 26, 2023
Created on Mar 25, 2023

This pie chart displays the sales rankings of 50 restaurant brands from the "Future50" dataset for 2020. Using D3 v5, the visualization generates SVG arcs with `d3.pie` and `d3.arc`, applying a categorical color scale for each segment. Value labels are positioned via `arc.centroid`, while a legend on the right lists restaurant names and their corresponding sales figures. Data is loaded asynchronously from a raw GitHub CSV file and processed with the `d3.csv` function.

AI-generated description
MIT Licensed

Similar vizzes