Skip to main content
100%

Activity6_Question2

✓ Published0🌍 Public
Ddandudivya98@gmail.com
Last edited Apr 5, 2024
Created on Apr 5, 2024
Forked from Hello VizHub

This example shows the weight of recycled office materials—Office Paper, OCC, and Single-Stream—across twelve months, displayed as horizontal stacked bars. Each bar represents one material type, divided into monthly segments colored by month. The visualization uses d3.stack to compute the stacked series, d3.scaleBand for the categorical y-axis, and d3.scaleLinear for the x-axis. Hovering over a segment reveals a tooltip with the precise weight for that month. Data is loaded from a CSV file and rendered as SVG.

AI-generated description

Recycling the office materials

MIT Licensed

Similar vizzes