{"version":"1.0","type":"rich","title":"Axis with React D3","description":"This example shows a horizontal bar chart of the top 10 countries by population in 2020, with labeled axes. It uses React hooks (`useState`, `useEffect`) to load CSV data via `d3.csv`, then renders SVG elements through JSX. The y-axis uses `d3.scaleBand` for country categories, while the x-axis uses `d3.scaleLinear` with tick marks generated by `xScale.ticks()` and grid lines drawn as `<line>` elements. Data is sourced from a GitHub-hosted UN population dataset.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/19859753af1e4d9b8eb68af5f863fc15?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}