{"version":"1.0","type":"rich","title":"Question 2 Stacked bar chart ","description":"This stacked bar chart displays two years of personal electricity consumption across three accounts in a three-family building, broken down by month. The visualization uses d3.stack to layer the account contributions, with d3.scaleBand for the x-axis, d3.scaleLinear for the y-axis, and d3.scaleOrdinal with d3.schemeCategory10 for color coding. The SVG is rendered as a group with margins, and interactive hover effects adjust bar opacity while title elements display individual usage amounts. The data is sourced from a personal electricity consumption dataset and processed with d3.group and d3.stack.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e608e369854b492490e195e2a322713a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}