{"version":"1.0","type":"rich","title":"Rendering Data with React & D3 - barchart Basic","description":"This example renders a horizontal bar chart of the top ten countries by 2020 population, sourced from a 2019 UN population CSV. The visualization combines React’s component-based state management with D3’s `csv`, `scaleBand`, and `scaleLinear` functions to map country names and population values to SVG rectangles. The `useState` and `useEffect` hooks asynchronously load and slice the data, while the categorical y-axis and linear x-axis position the bars within a 960-by-500 pixel viewport.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/47e700567ac04c1494e838fe226e00fb?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}