{"version":"1.0","type":"rich","title":"Axes with React and D3","description":"This example displays horizontal bar charts of the top ten countries by 2020 population from a United Nations CSV dataset. It uses React state to load the data through D3's `csv` utility, then renders an SVG with D3's `scaleBand` and `scaleLinear` for the axes. The code draws axis lines and tick labels via `.ticks()`, and creates the bars as SVG `rect` elements.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/62cfd71dc0574d71b50cfafe8585e640?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}