{"version":"1.0","type":"rich","title":"Datavis 2020 Episode 21 - Making a Bar Chart with React & D3","description":"This example shows a horizontal bar chart of the top ten countries by 2020 population, loaded from an external CSV of UN Population data. The React component uses `useState` and `useEffect` to fetch and parse the data with `d3.csv`, then renders SVG `<rect>` elements. Scales are created with `d3.scaleBand` for the categorical country axis and `d3.scaleLinear` for the quantitative population axis, with bar widths proportional to population values. Rendering is handled entirely through React JSX, while D3 v5 provides the data loading and scaling functions.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/70faa0bb8a4c4adeafeab8b150412fcb?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}