Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Visualization 1 (Stacked Bars)

Public visualization

Viewing a saved revision (read-only)

3b74156e7e88426a80cc3f1f845dc370

Visualization 1 (Stacked Bars)

0 stars1🌍 Public
Ssafdarawan
Last edited Jun 1, 2020
Created on Jun 1, 2020

This stacked bar chart compares sales across product sub-categories, broken down by customer segment (Consumer, Corporate, Home Office). The visualization uses D3.js to render an SVG with animated transitions, where hovering over a color legend highlights a specific segment's bars. It employs `d3.layout.stack`, `d3.scale.ordinal`, and `d3.legend.color` to structure and annotate the data, which is loaded from CSV files containing sales figures. Tooltips via `d3-tip` display exact values on interaction.

AI-generated description