{"version":"1.0","type":"rich","title":"Question 2 Stacked bar chart","description":"This stacked bar chart visualizes personal electricity consumption across two years for a three-family structure, breaking down usage by account number for each monthly read date. The visualization uses a green and blue color scheme mapped via `d3.scaleOrdinal`, with axes and bars rendered in SVG. Data is transformed using `d3.group` and stacked with `d3.stack` before being drawn as rectangles scaled by `d3.scaleBand` and `d3.scaleLinear`. Hovering highlights bars and shows a tooltip title with kilowatt-hour values, while the chart includes labeled axes and a legend.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7d9923e5fcec4c12b353737faa87282f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}