Skip to main content
100%

Example

✓ Published0🌍 Public
SShashwat Priyadarshi
Last edited May 18, 2020
Created on May 17, 2020
Forked from D3 Example

This multi-series bar chart displays product category sales across three customer segments, with each bar stacked to show the cumulative sales total per category. The visualization uses D3.js with SVG rendering and a custom legend that filters the displayed segments on hover, dimming the base bars and highlighting the selected layer. Data is loaded from a CSV file, and the chart employs d3.scale.ordinal, d3.layout.stack, and d3.legend to handle axes, stacking, and color encoding. Animated transitions are not present, but the interactive tooltip via d3-tip provides per-bar sales values.

AI-generated description
MIT Licensed

Similar vizzes