{"version":"1.0","type":"rich","title":"Axes with React & D3","description":"This example demonstrates a horizontal bar chart of the top 10 most populous countries for 2020, rendered as SVG. It loads UN population data from a CSV URL using D3’s `csv` utility, then uses React’s `useState` and `useEffect` hooks to manage the asynchronous data loading and re-render. The chart builds custom axes manually—D3’s `scaleBand` and `scaleLinear` position bars and ticks, while loops generate gridlines, axis labels, and text elements without using `d3.axis`. React components render each bar, tick, and label directly into the SVG.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/a23f6c9d00134a259868704edd6be5dd?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}