{"version":"1.0","type":"rich","title":"Rendering data with react","description":"A bar chart displays the top 10 countries by projected 2020 population from a UN dataset. Built with React and D3 v5, it uses `useState` and `useEffect` to load CSV data via `d3.csv`, then renders SVG rectangles. Scales `d3.scaleBand` and `d3.scaleLinear` map country names and population values to pixel positions, with margins applied inside a transformed `<g>` element.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/600399e0a5264bca8a06c50c29d417dc?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}