Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Pie Chart with Labels & Legend

Public visualization

Pie Chart with Labels & Legend

0 stars1🌍 Public
Kkhushburajan2015@gmail.com
Last edited Oct 26, 2025
Created on Oct 26, 2025

This pie chart displays the market share of major cryptocurrencies by market capitalization, with labels and a legend identifying each asset. It uses D3 v7’s `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` with the Tableau10 color scheme to generate SVG paths and text labels. Labels for slices under 4% are hidden to reduce clutter, while a legend on the right lists all assets. The data is parsed inline from a CSV snapshot using `d3.csvParse` and `d3.autoType`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed