{"version":"1.0","type":"rich","title":"Refactored Bar Chart","description":"This example displays the population of the top ten countries from the UN Population 2019 dataset as a horizontal bar chart. React components render the SVG marks and axes, while D3 utilities handle the data loading and scale calculations. The chart uses a `scaleBand` for the categorical y-axis, a `scaleLinear` for the quantitative x-axis, and `csv` for fetching the data. Each component (`AxisBottom`, `AxisLeft`, `Marks`) is modularized and receives the scales and data via props, highlighting a reusable and refactored architecture for visualization.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/08baa39e9fdf44e69b1208f51624d8ec?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}