{"version":"1.0","type":"rich","title":"Axes with React & D3","description":"A bar chart displays the top 10 most populous countries using data from the United Nations World Population Prospects 2019. The React component fetches the CSV with `d3.csv`, converts the population column to numbers, and slices the data. It builds scales with `d3.scaleBand` for countries and `d3.scaleLinear` for population values. Custom axes are rendered as SVG `<g>` elements, with `xScale.ticks()` generating grid lines and tick labels, while y-axis labels are positioned manually. The visualization uses React state with `useState` and `useEffect` to manage asynchronous loading, and renders all marks as SVG `<rect>` elements.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d70fc421cc024ed5aef4666799c8d442?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}