{"version":"1.0","type":"rich","title":"Refactored Bar Chart","description":"This example displays a horizontal bar chart of the 2020 populations for the top ten countries, sorted by descending value. Built with React and rendered as SVG, it uses D3’s `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis. The custom `AxisBottom`, `AxisLeft`, and `Marks` components draw tick lines, labels, and rectangle bars by mapping data attributes to spatial scales. Population data is loaded asynchronously via `d3.csv` from a GitHub-hosted CSV file.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b573d561b2ae4e7db1e2ac1c30501c84?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}