{"version":"1.0","type":"rich","title":"Making a Bar Chart with React & D3","description":"This example shows a horizontal bar chart of the top 10 countries by 2020 population, with each bar representing a country’s estimated population in millions. The visualization is built by combining React for component rendering with D3 utilities for data loading and scales. The code uses `d3.csv` to fetch the dataset, `d3.scaleBand` for the categorical y-axis positioning, and `d3.scaleLinear` for the continuous x-axis range. Bars are rendered as SVG `<rect>` elements inside a React component, with the chart’s width and height fixed at 960 by 500 pixels.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/836605f0ac3e4696865e112146e9fecf?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}