{"version":"1.0","type":"rich","title":"Axes with React & D3","description":"This example shows a horizontal bar chart of the top 20 countries by 2020 population, with custom axes rendered as React components. The code uses D3's `csv` loader to fetch UN population data, `scaleBand` for the categorical y-axis, and `scaleLinear` for the numeric x-axis. Instead of D3's axis generator, it manually maps over `xScale.ticks()` and `yScale.domain()` to produce SVG `<line>` and `<text>` elements for tick marks and labels. The visualization is built with React 17 and D3 v7, rendering SVGs directly in the DOM.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/8b941ec112d0480cb85018386899a624?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}