🌍 Public
Viewing a saved revision (read-only)
9bdfe3f044d944cbb60a174e9631eb37
scatter_KL
This visualization displays annual sales distribution for an Indian restaurant using a pie chart. It aggregates sales data by year from a CSV file and visually represents each year’s total as a proportional slice. The chart is created with D3 v6, using `d3.rollups` to group and sum data, `d3.pie` and `d3.arc` to generate the pie geometry, and `d3.scaleOrdinal` for slice colors. The SVG rendering includes a custom legend mapping each year to its color.
AI-generated description