{"version":"1.0","type":"rich","title":"Refactored Bar Chart","description":"This example presents a horizontal bar chart of country populations using React components to structure the visualization. The chart loads data from a CSV file containing 2020 UN population estimates, slicing the dataset to show the top ten countries. D3 v5 utilities handle data parsing and scale generation, with `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis. Each bar’s width corresponds to the population value, rendered as SVG rectangles within a React component hierarchy, with separate component files managing the axes and marks.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/944c211253f44b8c9faa9966d86a5305?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}