Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Piechart ICE - 7

Public visualization

Viewing a saved revision (read-only)

5de69cc75cb94f08a2c56d32f98841c2

Fork of Piechart ICE - 7

0 stars0🌍 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