Skip to main content
100%

Area_chart_reatils_sales

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

This area chart displays monthly product sales in rupees, with a teal filled region and steelblue point markers for each month. D3’s `d3.scalePoint`, `d3.scaleLinear`, and `d3.area` with a monotone curve map months to the x-axis and aggregated sales totals to the y-axis. Hovering over a point enlarges it, changes its color to orange, and reveals a static text tooltip showing the exact sales value. The chart uses the `d3.rollups` API to aggregate the underlying CSV data by month and annotates the total sales for the year.

AI-generated description
MIT Licensed

Similar vizzes