{"version":"1.0","type":"rich","title":"Ep23 Refactored Bar Chart","description":"This example displays a horizontal bar chart of the top 10 countries by population in 2020, according to UN data loaded from a CSV file. Built with React and D3 v7, the chart is rendered as SVG. The code constructs the visualization using modular components, with `AxisBottom` generating the quantitative scale ticks, `AxisLeft` labeling the categorical country names, and `Marks` drawing the bars. The `useData` hook fetches the data, while `scaleBand` and `scaleLinear` handle the layout.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/87301086faae475194d3334885e0fbb2?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}