{"version":"1.0","type":"rich","title":"Making bar chart with React & D3","description":"This example shows a horizontal bar chart of the top 10 countries by 2020 population using React and D3. It loads CSV data from a GitHub gist via `d3.csv`, transforms the population field to a number, and stores the sliced dataset in React state with `useState` and `useEffect`. The chart renders as SVG `rect` elements positioned by `d3.scaleBand` for countries and sized by `d3.scaleLinear` for population values. React handles the declarative rendering while D3 provides the scale utilities.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/4ff8c815daa44070a4587bffb6ee3637?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}