{"version":"1.0","type":"rich","title":"STACKBAR Group Colours","description":"This stacked bar chart displays eight animals across the horizontal axis, with four quantitative series (A, B, C, D) stacked vertically. The bars are colored by a second categorical variable, assigning distinct color ranges to each animal group (Domestic, Pest, Africa, Marine). The visualization uses D3 v5 with SVG rendering, employing `d3.stack()`, `d3.scaleBand()`, `d3.scaleLinear()`, and two `d3.scaleOrdinal()` color scales. Data is loaded from a CSV file where each animal’s total is calculated before stacking. The example explores differential shading to distinguish groups within a stacked layout.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e1a2983565b7412f8a978baa1671270e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}