Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

AreaChart for sales

Public visualization

AreaChart for sales

0 stars0🌍 Public
Rrohithareddy1404@gmail.com
Last edited Mar 27, 2025
Created on Mar 27, 2025
Forked from AreaChart

This area chart visualizes total sales in US dollars and the number of boxes shipped by country from a chocolate sales dataset. Two filled line datasets, rendered with Chart.js on a canvas, compare these metrics across countries. The chart uses tab-separated CSV data fetched from a GitHub gist, parsing and aggregating amounts per country. A custom HTML legend, built with DOM manipulation, lists each country with a corresponding color swatch, while the chart’s built-in legend and animation are disabled.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed