{"version":"1.0","type":"rich","title":"Refactored Bar Chart","description":"This example displays the top 10 most populous countries as horizontal bars, ranked by population, with country names on the left and a linear population scale on the bottom. Built with React and D3 v5, it uses `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and renders SVG rectangles via the `Marks` component. Axis labels and ticks are generated by `AxisBottom` and `AxisLeft`, which map scales to SVG elements. Data comes from the UN World Population Prospects 2019 CSV, loaded asynchronously with `d3.csv` inside a custom `useData` hook.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/5bb0a5d204e74ee893c4780c49adb021?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}