Skip to main content
100%

Stack Chart Template

✓ Published0🌍 Public
Aaruba-haroon
Last edited May 1, 2020
Created on Apr 28, 2020

This stacked bar chart compares sales across consumer, corporate, and home office segments for multiple sub-categories. It uses D3.js (v3) with an SVG renderer and animated transitions to toggle between absolute counts and percentage-share views via a form input. Data is loaded from a CSV file and sorted by category, with segments color-coded using a categorical scale. The chart includes a legend and tooltip, and the axes update dynamically during transitions.

AI-generated description
MIT Licensed

Similar vizzes