Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE - 7 Pie Chart

Public visualization

Fork of ICE - 7 Pie Chart

0 stars0🌍 Public
CCherukuriMilind
Last edited Jul 2, 2022
Created on Jul 2, 2022

This example visualizes album data as a pie chart, showing the percentage contribution of each person to the dataset. D3 v5 loads CSV data from a GitHub URL and uses `d3.pie` and `d3.arc` to generate SVG arc segments, with `d3.scaleOrdinal` assigning categorical colors. Labels display percentages on the arcs, while a side legend lists each person and their corresponding value. The chart is rendered as static SVG, with text formatting handled by `d3.format`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed