{"version":"1.0","type":"rich","title":"React with D3 margin convention","description":"This example displays a horizontal bar chart of the top ten countries by 2020 population using React and D3. The chart uses D3’s `scaleBand` and `scaleLinear` to map country names and population values to an SVG canvas, with a fixed margin applied through a `translate` transform. Data is loaded asynchronously via `d3.csv` from a GitHub raw URL, and React’s `useState` and `useEffect` manage the data fetching and rendering lifecycle.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/93f7f1a939b24967ad2774ecd509e59c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}