{"version":"1.0","type":"rich","title":"Bar Chart with React & D3","description":"A horizontal bar chart displays the ten most populous countries in 2020, drawn as SVG rectangles. The React component loads CSV data via D3’s `csv` utility, then uses `scaleBand` for country positions and `scaleLinear` for population values. Grid lines and axis labels are generated from the x-scale’s `ticks()`. The chart updates reactively through React’s `useState` and `useEffect` hooks, with D3 v5 handling data loading and scaling while React manages the SVG rendering.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/a1d567a706214c668212e142e57a597d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}