{"version":"1.0","type":"rich","title":"Axes with React & D3","description":"This example shows a horizontal bar chart of population data for the top 10 countries in 2020, with axes drawn manually using React components. The code loads the UN Population dataset via `d3.csv`, then uses `scaleBand` and `scaleLinear` from D3 to position bars and ticks, while React state and `useEffect` manage data loading. SVG elements like `<rect>` and `<line>` render the bars and axis ticks, with text labels positioned via D3 scales, all inside a React component tree rendered to the DOM.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e90a089b6683498fb018bc0c1ad9b71c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}