{"version":"1.0","type":"rich","title":"Refactor Bar Chart","description":"Using React hooks and D3 v5, this visualization displays the top 10 countries by 2020 population as a horizontal bar chart. The SVG rendering uses `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and custom React components (`AxisBottom`, `AxisLeft`, `Marks`) that call D3-axis ticks and scale methods. Data is loaded from a CSV via the `csv` promise API in `useData.js`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/aa169be6ba27457e95635eec3fe1790e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}