{"version":"1.0","type":"rich","title":"D3 Stacked Barchart Example","description":"This example shows a stacked bar chart of three soil-condition subgroups across multiple species groups, with a categorical color scale and labeled axes. D3 v7 loads CSV data from an external GitHub repository and renders the chart as SVG. The code uses `d3.stack()` to compute cumulative bar segments, then draws the rectangles with `d3.scaleBand` and `d3.scaleLinear` for positioning. A dropdown-like legend is absent, but the color mapping and axis ticks clearly communicate the subgroup breakdown per species.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/023c486a42004166838b2421cc60747c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}