{"version":"1.0","type":"rich","title":"D3 React bar chart","description":"This example displays a horizontal bar chart of the top ten countries by 2020 population, using data loaded from a CSV file via `d3.csv`. A React component manages the loaded data with `useState` and `useEffect`, while D3’s `scaleBand` and `scaleLinear` map countries and population values to SVG coordinates. The chart renders SVG rectangles and grid lines, with axes omitted, and includes a loading message before data arrives.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/db1ea0ddf6424fabba00a56451c7255f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}