{"version":"1.0","type":"rich","title":"Fork of Bar chart with margin convention","description":"This fork of a bar chart displays the top 10 countries by population for 2020, using horizontal bars ranked from largest to smallest. The visualization loads CSV data from a GitHub gist and renders it as SVG rectangles within a specified margin convention. Built with React and D3 v7, the code uses `scaleBand` for the y-axis, `scaleLinear` for the x-axis, and `max` to determine the domain. The React `useState` and `useEffect` hooks manage asynchronous data loading, while SVG `<rect>` elements are mapped within a translated group to respect the margins.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/4750a50ce18a41049e6cefedd73c8aa3?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}