{"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, rendered as SVG through React components. React state tracks the data, initially loaded via `d3.csv`, while `scaleBand` and `scaleLinear` position bars and axes. The chart includes manually drawn tick marks and labels for both axes. The code uses React `useState` and `useEffect` hooks, along with D3’s `max` for scaling.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/55edba6f8bca4df99ea5d5f84d629f14?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}