Assignment_2_Task_2_Stacked_Bar_Chart
✓ Published0🌍 Public
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed