{"version":"1.0","type":"rich","title":"Axes with React & D3","description":"This example renders a horizontal bar chart of 2020 population estimates for ten countries in SVG. Data is loaded from a CSV file using `d3.csv`, and React uses `useState` and `useEffect` to manage the asynchronous fetch. D3 scales (`scaleBand`, `scaleLinear`) compute bar positions and widths, while axis ticks are generated manually from `xScale.ticks()` with rendered lines and text. The chart displays country labels on the left and value ticks below the bars.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/6309cd0a7003454382493ef46824cba8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}