{"version":"1.0","type":"rich","title":"Axis with React & D3","description":"This example shows a horizontal bar chart of the top 10 countries by 2020 population, rendered as SVG using React components. The code loads data from a CSV file of UN population estimates via the `csv` function from D3 v5, then uses `scaleLinear` for the x-axis and `scaleBand` for the y-axis. React's `useState` and `useEffect` hooks manage asynchronous data loading, while ReactDOM renders the chart and D3-generated tick marks. The visualization combines React's component model with D3's scales and axis utilities for a straightforward data-driven layout.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/adfb54ea043b451dbca2b3c26ecdf25d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}