{"version":"1.0","type":"rich","title":"Char Bars with React & D3","description":"This example shows a bar chart of the top 10 countries by projected 2020 population, loaded from a CSV file via `d3.csv`, with bars rendered as SVG rectangles from React components. D3's `scaleBand` and `scaleLinear` map country names and population values to screen positions, while the `max` utility finds the domain ceiling. The visualization uses React’s `useState` and `useEffect` hooks to fetch and store the data asynchronously, displaying a \"Loading...\" placeholder until the CSV arrives. React’s DOM bindings and D3’s scaling utilities combine to produce a clean, horizontally-oriented comparison chart.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/2460ee9935a6411a9cb5ebb867f6800c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}