{"version":"1.0","type":"rich","title":"Axes in React with D3","description":"This example shows a horizontal bar chart of the top 10 countries by 2020 population, rendered as SVG in React. The code uses D3 utilities `csv` and `scaleBand`/`scaleLinear` to load and scale data from a UN population CSV, while React's `useState` and `useEffect` manage the async data loading. Custom tick marks and labels are drawn manually using JSX elements, with D3's `max` and `ticks` methods driving the x-axis scale and gridlines.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/6fe2930bd603438881a0f4b9542304b5?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}