{"version":"1.0","type":"rich","title":"Axes width React & D3","description":"This example displays a horizontal bar chart of the top 80 countries by 2020 population, drawn as SVG elements. It uses React hooks (`useState`, `useEffect`) to load and manage data from a CSV file via D3’s `csv`, while D3’s `scaleBand` and `scaleLinear` map country names and population values to pixel coordinates. Axis ticks are rendered manually with D3’s tick generation, and each bar is a `<rect>` positioned by those scales. The layout includes explicit margins and uses D3’s `max` for domain calculation.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b63a04803f614cab966365f53c780c0f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}