{"version":"1.0","type":"rich","title":"Fork of Axes with React & D3","description":"This example displays the top 10 most populous countries as a horizontal bar chart with axes, using React state and hooks alongside D3 for data loading and scales. The `d3.csv` function fetches UN population data from 2019, while `d3.scaleBand` and `d3.scaleLinear` position bars and ticks. SVG rendering is managed by React, with D3’s `max` computing the domain. The code manually draws axis tick marks and labels, creating the grid lines shown in red.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/4ae9e6b97a1e488988b68f4e53e7759e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}