Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Visualization 1 (Stacked Bars)

Public visualization

Viewing a saved revision (read-only)

c6898157a3294fe2b5facc66ded91874

Visualization 1 (Stacked Bars)

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

A stacked bar chart compares total sales by product sub-category across three customer segments (Consumer, Corporate, and Home Office). Mouse hover on a legend item highlights that sub-category’s segment breakdown while dimming the others, with tooltips detailing exact sales values. The visualization uses D3.js (v3.5.5) with the `d3.layout.stack` API, SVG rendering, and the `d3.legend` and `d3.tip` libraries, drawing sales data from a CSV file.

AI-generated description