{"version":"1.0","type":"rich","title":"Axis with React and D3","description":"This example presents a horizontal bar chart of United Nations population data for ten countries, rendered as an SVG. The React app uses a D3 CSV utility to fetch and parse the data, then employs D3’s `scaleBand` and `scaleLinear` to map countries and population values to coordinates. Axis ticks and labels are generated manually via `scale.ticks()`, while D3’s `max` function defines the scale domain. The React component manages state with hooks, rendering all bars and text directly in JSX.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c201154ade3e44a097284feb3bad6383?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}