{"version":"1.0","type":"rich","title":"Bar Chart React & D3 (codeAlong)","description":"This example shows a horizontal bar chart of population estimates for the ten most populous countries in 2020, using data loaded from a CSV file via `d3.csv`. The visualization renders as an SVG using React components, with `d3.scaleBand` and `d3.scaleLinear` mapping country names and population values to pixel coordinates. React’s `useState` and `useEffect` manage the loaded data and prevent repeated fetching, while the chart includes axis tick lines and labels generated from `xScale.ticks()`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c594fd6799e34eebac00ad4b3e551c21?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}