{"version":"1.0","type":"rich","title":"Fork of react bar 2","description":"This example shows a horizontal bar chart ranking the top 10 countries by 2020 population, with bars drawn as SVG rectangles inside a React component. The chart uses `d3.csv` to load UN population data from a gist URL, then transforms it with `scaleBand` for the y-axis and `scaleLinear` for the x-axis. The React app manages the data asynchronously via `useState` and `useEffect`, rendering a loading message until the data arrives. The visualization is a simple one: yellow bars extend from the left, sized proportionally to each country’s population.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e2a5dfb18a094ee09152597b3dafef34?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}