{"version":"1.0","type":"rich","title":"Fork of Electric Bar Chart Using d3.stack","description":"This stacked bar chart visualizes personal electricity consumption across two years, broken down by account number and read date. The visualization uses d3.stack to transform the data into stacked series, then renders the bars as SVG rectangles with d3.scaleBand and d3.scaleLinear. Colors are assigned via d3.scaleOrdinal, and the chart includes hover effects that adjust opacity and display tooltips using SVG title elements. The code also leverages d3.group to structure the data and Intl.DateTimeFormat for date formatting on the x-axis.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9729c9958c1b4929848de3d1440be744?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}