{"version":"1.0","type":"rich","title":"React & D3 - Simple Bar Chart","description":"This example shows a horizontal bar chart of country populations for a selected year, with bars colored on a red-to-green scale based on their population values. The chart reads UN population data from a CSV file and displays a subset of countries. React manages the application state through hooks, including the currently selected year via an input field, while D3's `scaleLinear`, `scaleBand`, and `d3.interpolateHcl` handle scaling, layout, and color interpolation. The bars are rendered as SVG rectangles, with their widths and positions computed from the D3 scales.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ad372633f42b4520af32b85bacdcb25e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}