Testing Stacked bar
✓ Published0🌍 Public
Aaruba-haroon
Last edited Apr 28, 2020
Created on Apr 28, 2020
This stacked bar chart visualizes sales values across product categories (accessories, art) segmented by consumer, corporate, and homeoffice sales. A legend highlights specific segments, and hovering over legend items or bars displays a tooltip with exact values via d3-tip. Rendered as SVG with D3’s stack layout, the chart uses ordinal and linear scales for axes, with an animated foreground overlay that dims non-hovered segments. The data comes from an embedded CSV, and the code relies on d3.legend for interactive color filtering.
AI-generated descriptionThis visualization was originally forked from one of Curran Kelleher's stacked bar chart examples .
MIT Licensed