{"version":"1.0","type":"rich","title":"Axes with React and D3","description":"This example shows a horizontal bar chart ranking ten countries by their 2020 population, with the data sourced from a UN population CSV file fetched via `d3.csv`. React controls the SVG rendering, mapping each country name through `d3.scaleBand` for the y-axis positions and population values through `d3.scaleLinear` for bar widths. The chart uses `d3.max` to determine the x-axis scale domain, and React's `useState` and `useEffect` manage the asynchronous data loading and display a \"Loading...\" message until the data arrives.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/83a02f6b136c45dd99e7f7f3b3ff643f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}