{"version":"1.0","type":"rich","title":"Refactored Bar Chart","description":"This example shows a horizontal bar chart displaying the top 10 regions by population for 2020, using a dataset loaded from a CSV file via D3’s `csv` utility. React components, including `AxisBottom`, `AxisLeft`, and `Marks`, render the SVG axes and rectangles. The chart uses `scaleBand` for the categorical y-axis and `scaleLinear` for the population x-axis, with React’s `useState` and `useEffect` managing asynchronous data loading. The visualization demonstrates a modular, refactored approach to building interactive charts with D3 scales and React rendering.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/6e865369930b406892e6586545d0afbf?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}