{"version":"1.0","type":"rich","title":"Refactored Bar chart","description":"This example shows a horizontal bar chart displaying the top 10 most populous countries in 2020, using data loaded from a CSV file via D3’s `csv` utility. The bars render as SVG rectangles, with a yellow circular background and black stroke. React manages the component structure, while D3’s `scaleBand` and `scaleLinear` handle the axis positioning. Custom React components like `AxisBottom`, `AxisLeft`, and `Marks` encapsulate the chart’s parts, and the axes are generated by mapping over tick values from the scales.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e5045390460c4d6b9a16c7d37b970a1d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}