{"version":"1.0","type":"rich","title":"refactored bar chart","description":"This example shows a horizontal bar chart of population data for ten countries from a UN 2019 dataset. The visualization uses React to render SVG elements, with D3 v7 scales (`scaleBand` and `scaleLinear`) positioning the bars and axes. Custom React components (`AxisBottom`, `AxisLeft`, `Marks`) construct the tick lines, labels, and rectangles based on the data, while `useData` fetches and parses the CSV via `d3.csv`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/5cc9aeaf7d214b7f9da1c3ccfb9ba74a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}