{"version":"1.0","type":"rich","title":"Axes with React and D3","description":"A horizontal bar chart displays the top ten countries in the 2020 UN World Population Prospects dataset. The React component manages the data loading state with a `useEffect` hook and `d3.csv`, then renders SVG elements directly. D3's `scaleBand` and `scaleLinear` position the bars and generate tick marks, while `d3.max` computes the domain. The chart shows both axes with tick labels, using React's declarative JSX to construct each `<rect>`, `<line>`, and `<text>` element.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b8df3661ddc340469237c4fe3c5e4ce4?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}