{"version":"1.0","type":"rich","title":"Axes with React & D3","description":"This example shows a horizontal bar chart of the top ten countries by 2020 population using CSS-named color data loaded via D3’s `csv` utility. The visualization renders with React state management, where `scaleBand` and `scaleLinear` map country names and population values to SVG coordinates. Gridlines and tick labels are generated from `xScale.ticks()`, with each bar’s width proportional to its population. The chart uses SVG rendering inside React components, demonstrating how D3 scales and axes integrate declaratively with React’s rendering model.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ace193095abe42568243ae6282e3c149?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}