Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

scatter_KL

Public visualization

Viewing a saved revision (read-only)

9bdfe3f044d944cbb60a174e9631eb37

scatter_KL

0 stars1🌍 Public
DDeeraj Thakkilapati
Last edited Jul 11, 2024
Created on Jul 10, 2024
Forked from Hello VizHub

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