Skip to main content
100%

Assignment_2_Task_2_Stacked_Bar_Chart

✓ Published0🌍 Public
Ssreekarthanda@gmail.com
Last edited Jul 21, 2023
Created on Jul 21, 2023
Forked from Hello VizHub

This stacked bar chart visualizes sales data across market segments, with each bar segmented by product sub-category. The visualization uses D3.js to load CSV data and render an SVG, featuring an interactive color legend that filters and highlights specific sub-categories on hover. The chart includes tooltips showing exact sales values and uses d3.legend for the color key, while the stack layout computes cumulative values for each segment.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes