{"version":"1.0","type":"rich","title":"United Nations Bar Chart (Axis with React and D3)","description":"This example shows a horizontal bar chart of the top 10 most populous countries in 2019, with countries on the y-axis and population on the x-axis. The React component loads CSV data via `d3.csv`, transforms the population column with a row function, and stores it using `useState` and `useEffect`. Scales from `d3.scaleBand` and `d3.scaleLinear` position the bars, while `xScale.ticks()` generates gridlines and tick labels in the SVG. React renders the rects, lines, and text elements directly, with axes drawn manually rather than through D3 axis helpers.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/a1576c6c4e0440718546c0616b5cadf3?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}