{"version":"1.0","type":"rich","title":"Bar Chart With D3","description":"This example shows a horizontal bar chart of the top ten most populous countries in 2020, using UN population data loaded from a CSV file. React state manages the fetched data, while D3’s `scaleBand` and `scaleLinear` map country names and population values to SVG rectangles. The bars render from left to right, with no axes or labels. The code uses `d3.csv` for data loading and React functional components with the `useState` and `useEffect` hooks to trigger and store the asynchronous data fetch.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/5bb6edb29e814cd39c6b1334318ef2a5?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}