{"version":"1.0","type":"rich","title":"Refactored Bar Chart","description":"This example displays a bar chart of the top 10 countries by population from UN Population 2019 data, using React components for the axis and marks. The SVG rendering uses D3 v5’s `scaleBand` and `scaleLinear` for positioning and sizing, with `useData` fetching the CSV via `d3.csv`. Each bar shows the population value with a bottom axis and labeled left axis, demonstrating a modular refactoring of D3 within a React framework.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/09c8cdd8d0ef4e6d9a6af46ce57aed85?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}