{"version":"1.0","type":"rich","title":"Simple Stack","description":"This stacked bar chart displays five categories with three series each, using a simple matrix as its data source. The code relies on d3.layout.stack() to transform the raw matrix into stacked values, then renders rectangles via d3.scale.ordinal for x-positions, d3.scale.linear for heights, and a color scale for series. Console logs expose the matrix-to-stack transformation process, while SVG groups and rects are positioned with negative y-coordinates to build the upward stack from a baseline.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-2940908?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}