{"version":"1.0","type":"rich","title":"Diverging StackedBar Chart","description":"This example shows a diverging stacked bar chart built with D3 v3, displaying five labeled categories with numeric values. The chart renders as vertical bars with a color scale mapping each category to a distinct color from a predefined palette. It includes axes with a rotated y-axis label and a tooltip that appears on mouseover to show the category label and value. The code uses `d3.svg.axis`, `d3.scale.ordinal`, and `d3.scale.linear` to construct the visualization, with SVG rectangles for the bars and HTML divs for the tooltip. Data is hardcoded in the script, though commented-out code suggests it could also load from a CSV file.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-077abbf1caf02201c0276317c389c1a5?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}