Skip to main content
100%

Visualization 1 (Stacked Bars)

✓ Published0🌍 Public
SSarahKiyani
Last edited May 15, 2020
Created on May 15, 2020

This stacked bar chart compares sales across product sub-categories, segmented by customer segment (Consumer, Corporate, Home Office). It displays aggregated sales totals for each sub-category, with each segment represented by a differently colored stack. The visualization uses D3.js version 3 with `d3.layout.stack` to create the stacked layers, `d3.scale.ordinal` and `d3.scale.linear` for axes, and `d3.legend` for a color legend. Animated hover effects and tooltips via `d3-tip` highlight individual segment contributions. Data comes from a CSV file, rendered as an SVG with rotated x-axis labels.

AI-generated description
MIT Licensed

Similar vizzes