{"version":"1.0","type":"rich","title":"Axes with React & D3","description":"This example shows a horizontal bar chart of the top 10 countries by 2020 population, with axes drawn entirely through React components and D3 scales. The code uses `scaleBand` and `scaleLinear` to map country names and population values to pixel coordinates, while manually rendering tick marks and labels for both axes as SVG elements. Data is loaded from a CSV file using `d3.csv`, and the chart updates reactively through React’s `useState` and `useEffect` hooks.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/85f3361c8bcc4724b3388c725a1fc946?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}