{"version":"1.0","type":"rich","title":"Stacked bar chart v4","description":"This stacked bar chart visualizes five series across ten samples, with each bar segment colored by series using an ordinal scale. The chart uses D3 v4 with an SVG rendering, positioning bars via a band scale for the x-axis and a linear scale for the y-axis. It builds the stacks with `d3.stack()` and draws rectangles for each segment, using randomly generated data from `d3.range` and `Math.random`.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-40c6c53cab476529402888e0d73c4e9c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}