Scatter plot
✓ Published0🌍 Public
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 descriptionMIT Licensed