{"version":"1.0","type":"rich","title":"Axes with React & D3","description":"A horizontal bar chart displays population data for ten countries in 2020, loaded via D3's `d3.csv` from a GitHub gist. React renders the SVG, while D3's `scaleBand` and `scaleLinear` position bars and axes. The code builds custom tick marks and labels using `xScale.ticks()` and manual SVG text elements, avoiding D3's axis components. React hooks manage the asynchronous data loading, and the chart updates when the fetched dataset becomes available.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/a407c777be9040a4960baa3acf36f7e5?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}