{"version":"1.0","type":"rich","title":"Axes with React & D3","description":"A React application renders a horizontal bar chart of the top ten countries by estimated 2020 population, using the UN Population 2019 dataset loaded via `d3.csv`. The code employs `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis, with custom axes built from `xScale.ticks()`. SVG elements—`rect`, `line`, and `text`—are generated directly in JSX, while React’s `useState` and `useEffect` manage asynchronous data loading and display a loading message until the CSV resolves.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/1763c6fdd7ef40d7b93a2f7b07243656?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}