{"version":"1.0","type":"rich","title":"Making a Bar Chart with React & D3 (Tutorial 21)","description":"This example shows a horizontal bar chart of the estimated 2020 populations for the top ten countries, sourced from a UN population CSV file. Built with React and D3 v5, it renders as an SVG, using `d3.scaleBand` and `d3.scaleLinear` to map country names and population values to rectangular coordinates. The chart uses the `d3.max` function to determine the scale domain and React’s `useState` and `useEffect` hooks to asynchronously load and slice the data for display.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c78ccf2987d44044b3f738fc02c4bc9b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}