{"version":"1.0","type":"rich","title":"Bar chart with React & D3","description":"This example presents a horizontal bar chart of the top 10 most populous countries in 2020, using data loaded from a CSV file via `d3.csv`. The chart uses `d3.scaleBand` for the categorical y-axis and `d3.scaleLinear` for the quantitative x-axis, with grid lines generated from `xScale.ticks()`. React manages the application state and renders the SVG output, displaying an initial \"Loading...\" message before the data arrives. The bars are drawn as SVG `<rect>` elements within a translated `<g>` group, with the entire visualization rendered using React DOM.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9911dd5aa7d44ef7aabdecb77583ae0c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}