Skip to main content
100%

Fork of Area Chart Visualization

✓ Published0🌍 Public
AAmrit Adhikari
Last edited Oct 27, 2025
Created on Oct 27, 2025

This interactive area chart visualizes product sales trends from 2018 to 2024, allowing viewers to toggle between stacked and overlapping area representations. The stacked mode shows cumulative market growth across all products, while the overlapping mode displays individual product sales with semi-transparent fills and line borders. Built with D3 v7, the visualization uses `d3.stack`, `d3.area`, `d3.line`, `d3.scalePoint`, and sliding transitions to switch between chart types. Data is loaded from a CSV file containing yearly sales figures for multiple products.

AI-generated description
MIT Licensed

Similar vizzes