Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Fork of Fork of second

Public visualization

Fork of Fork of second

0 stars0๐ŸŒ Public
119h61a05c9@cvsr.ac.in
Last edited Oct 28, 2025
Created on Oct 28, 2025
Forked from Fork of second

This pie chart visualizes sales distribution across 30+ product categories using CSV data loaded via `d3.csv`. It renders SVG arcs generated by `d3.pie()` and `d3.arc()`, with a Tableau10 color scale via `d3.scaleOrdinal`. Labels are positioned along a separate `labelArc` using `centroid` calculations, while a legend lists categories with color swatches. Built with d3 v6, the chart includes interactive tooltips via appended `<title>` elements.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed