{"version":"1.0","type":"rich","title":"Axes with React & D3","description":"A bar chart displays the ten most populous countries for 2020, loading data from a CSV file via D3’s `csv` utility and rendering with React’s `useState` and `useEffect` hooks. D3’s `scaleBand` positions the categorical y-axis, while `scaleLinear` maps population values to the x-axis, with ticks generated by `xScale.ticks()`. The chart draws SVG `<rect>` bars and axis labels, using React’s `transform` attribute for positioning, all within a 960×500 viewport.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b3d0cce8d49c4d349ea707b7df54233b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}