{"version":"1.0","type":"rich","title":"Barchart Refactored","description":"This example shows a horizontal bar chart of the top 10 countries by population in 2020, using data loaded from a CSV file via `d3.csv`. Bars are rendered as SVG `<rect>` elements, with axes built from the reusable React components `AxisBottom` and `AxisLeft`, which use `d3.scaleBand` and `d3.scaleLinear` to map positions. The chart is structured with React hooks (`useState`, `useEffect`) to fetch and transform the data, and the whole visualization is embedded in a single SVG canvas within a React app.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/871a36547de64a48863918dd824709ff?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}