{"version":"1.0","type":"rich","title":"D3: Stack layout stacked bar chart","description":"This stacked bar chart uses D3’s `d3.stack` layout to divide five categories into layered segments for apples, oranges, and grapes. Each series is rendered as SVG `rect` elements within grouped `<g>` elements, with `d3.scaleBand` positioning bars along the x-axis and `d3.scaleLinear` mapping cumulative values to heights. Colors come from `d3.schemeCategory10`, and the chart reads the static dataset directly from the script.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c0fc9cb0ebdc4c1698428f78f1d66769?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}