🌍 Public
Viewing a saved revision (read-only)
38f1b6fef2d2433cb2ac9b89e3c580ac
Diamond pie chart
This pie chart visualizes the distribution of diamond shapes in a CSV dataset, showing the proportional count of each shape category. The chart is rendered as an SVG using D3.js v6, with slices generated by the `d3.pie` and `d3.arc` functions, colored with a categorical scale via `d3.scaleOrdinal`. Each slice is labeled with its shape name, and a separate legend with color swatches accompanies the chart. Data is aggregated using `d3.rollup` to count occurrences per shape.
AI-generated description