Skip to main content
100%

Visualization 1 (Stacked Bars)

✓ Published1🌍 Public
Ssafdarawan
Last edited Jun 1, 2020
Created on Jun 1, 2020

A stacked bar chart compares sales across customer segments and product sub-categories, using color to distinguish sub-categories within each segment. The visualization is rendered with D3.js (version 3.5.5) and uses d3.layout.stack to create the stacked layers, while d3.legend provides the interactive color legend. Hovering over a legend entry highlights that sub-category’s bars and fades the rest, and d3-tip displays exact sales values on hover. The chart animates and reads from a CSV containing individual sales records.

AI-generated description
MIT Licensed

Similar vizzes