{"version":"1.0","type":"rich","title":"Axes with React & D3","description":"This example displays the top 10 most populous countries as a horizontal bar chart with axes, using React for component structure and D3 for scales and rendering. The code explicitly builds x-axis ticks with `xScale.ticks()` and y-axis labels from the scale’s domain, drawing SVG lines and text elements. It loads data from the United Nations World Population Prospects 2019 via `d3.csv`, applies a linear scale for population and a band scale for countries, and renders the chart as SVG within a React component.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/37016115a79d4360951d0d96be380f95?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}