{"version":"1.0","type":"rich","title":"Making a Bar Chart","description":"This bar chart displays the happiness scores of nine world regions, with bars colored on a red gradient by value. A central green circle toggles an animation that shrinks or grows the bars using a custom `transitionWidth` function, which relies on D3’s `transition` and `attr` methods. The chart is rendered as SVG with `d3.scaleLinear` and `d3.scaleBand` axes, and hovering over a bar populates a separate HTML overlay with the region’s name and score. Data comes from the CSV file using `d3.csv`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/808a39d82e854e5ba1e263abd73b3c6f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}