{"version":"1.0","type":"rich","title":"Refactored Bar Chart","description":"This example shows a horizontal bar chart of the top 10 most populous countries, using data from the United Nations World Population Prospects 2019. The chart is built with React and D3 v5, using `scaleBand` for the y-axis and `scaleLinear` for the x-axis. The `useData` hook loads a CSV via `d3.csv`, slices the first 10 rows, and renders the bars as SVG `<rect>` elements within a React component tree, with separate components for the axes and marks.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f9224822bc454bc4af224f157bff5f92?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}