{"version":"1.0","type":"rich","title":"Refactored Bar Chart","description":"A horizontal bar chart displays the ten most populous countries in 2020, sorted by population, with value labels on the x-axis and country names on the y-axis. The example loads CSV data via `d3.csv` and manages asynchronous state with React’s `useState` and `useEffect`. It renders SVG bars, axes, and tick labels using React components, while D3’s `scaleBand` and `scaleLinear` compute the layout. The chart uses D3 v7 with React 16.9, loading both libraries from a CDN.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e16f05d49a214cecaf61ba62de63acd6?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}