{"version":"1.0","type":"rich","title":"Bar Chart","description":"This example shows a horizontal bar chart of the top 10 countries by population, with each bar’s length representing the 2020 population estimate. The bars are rendered as SVG `<rect>` elements using React, with scales from `d3.scaleBand` for the country categories and `d3.scaleLinear` for the population values. Data is loaded asynchronously from a CSV file using `d3.csv`, which parses the population column as numbers before the chart updates. The visualization combines D3’s data-loading and scaling utilities with React’s declarative component structure.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f429110a8b614cc4944ba9ef1940363a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}