{"version":"1.0","type":"rich","title":"Axis with React & D3","description":"This example shows a horizontal bar chart ranking the ten most populous countries in 2021, with labeled axes for population counts and country names. It loads UN population data from a CSV file using D3’s `csv` utility, then passes the parsed data to React state. React renders the SVG, while D3’s `scaleBand` and `scaleLinear` position bars and ticks, and `xScale.ticks()` generates gridline labels. The chart is fully SVG-based, with a margin group translating the plot area.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/84a0c6f137864f96ba7066dc09c437ed?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}