Skip to main content
100%

Scatter plot

✓ Published0🌍 Public
Rrohithareddy1404@gmail.com
Last edited Mar 26, 2025
Created on Mar 23, 2025

A pie chart displays the distribution of shopping purchases by category, using a dataset loaded from a CSV file. Each slice is labeled with its category name and count, while a categorical color scale from `d3.schemeSet3` distinguishes the segments. The chart is built with D3 v5, using `d3.pie()` and `d3.arc()` to generate and render the slices as SVG paths, with text labels positioned via `arc.centroid`. The visualization is rendered as a clean, static SVG graphic with a red title header.

AI-generated description
MIT Licensed

Similar vizzes