Skip to main content
100%

Fork of Activity6_question

✓ Published0🌍 Public
Mmaneeshraja47@gmail.com
Last edited Oct 30, 2025
Created on Oct 30, 2025
Forked from Activity6_Task-2

This stacked bar chart visualizes monthly sales across three departments—Electronics, Clothing, and Groceries—using horizontal bars segmented by category. The chart is built with D3.js v4, parsing CSV data and rendering it as SVG, with a color scale distinguishing departments and a custom tooltip showing segment values on hover. Axes display month labels and total sales formatted in thousands, while a legend identifies each category. The layout uses D3 scales for positioning and the d3.stack API to compute stacked segments from the uploaded sales data.

AI-generated description
MIT Licensed

Similar vizzes