Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Ques1

Public visualization

Ques1

0 stars1🌍 Public
Ssushanthkodipyaka@gmail.com
Last edited Apr 6, 2024
Created on Apr 6, 2024
Forked from Hello VizHub

This pie chart visualizes the count of sales across different regions from a CSV dataset. The pie slices show sales values in thousands, with a legend on the right identifying each region and its corresponding value. The chart uses D3 v5, including the `pie` and `arc` functions to generate segments and compute centroids for labels. Data is fetched asynchronously using `d3.csv`, and colors are mapped via `scaleOrdinal`, with axis labels added manually via SVG text elements.

AI-generated description

Pie Chart

Comments

Sign in to join the discussion.

MIT Licensed