{"version":"1.0","type":"rich","title":"Refactored Bar Chart","description":"This example shows a horizontal bar chart of the top 10 most populous countries in 2020, using data loaded from a CSV of UN population estimates. The visualization is built with React components that render SVG elements, with D3 v7 providing the scale functions (`scaleBand`, `scaleLinear`) and the `csv` data loader. Separate React components handle the axes and marks, with the bottom axis using `xScale.ticks()` to generate tick values and the bars sized via the `xScale` and `yScale` outputs.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/cf2fa847aaed43298c7373210dfd69df?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}