{"version":"1.0","type":"rich","title":"Axis with react d3","description":"This example uses React to render an SVG bar chart of United Nations population data for ten countries. The chart displays horizontal bars with a linear x-axis scaled to the maximum population and a banded y-axis for country names. D3 utilities `csv`, `scaleBand`, `scaleLinear`, and `max` load the data and compute scales, while React's `useState` and `useEffect` manage the asynchronous data fetching. Both axes are drawn with manual D3 tick marks, gridlines, and text labels.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/4a6fbcbbca1d476cabd93a0a62f2494b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}