{"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 most populous regions and countries for 2020, rendered as SVG elements. The React component uses the `useState` and `useEffect` hooks to load data from a CSV file via D3’s `csv` utility, then maps that data to `<rect>` elements. D3’s `scaleBand` and `scaleLinear` position the bars vertically and size their widths, while `max` determines the domain for the linear scale.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/cfab5bd95282409dbdccaed46fd33959?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}