{"version":"1.0","type":"rich","title":"Refactored Bar Chart","description":"This example displays a horizontal bar chart of the top nine countries by 2020 population, with country names on the y-axis and population on the x-axis. The React app uses a custom `useData` hook to fetch CSV data via D3’s `csv` utility, then renders SVG with D3 scales (`scaleBand` and `scaleLinear`) and helper components for axes and marks. The `Marks` component creates `rect` elements for each bar, while the axis components generate tick lines and text labels.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ba9918c819114a0e87ecb578e105d5f6?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}