{"version":"1.0","type":"rich","title":"Fork of Axes with React & D3","description":"This example renders a bar chart of the ten most populous countries, with a tooltip showing each country’s population on hover. It uses React’s `useState` and `useEffect` to fetch the data from the United Nations World Population Prospects 2019 CSV via d3’s `csv` loader, then maps the data to SVG rectangles. The axes are built using d3’s `scaleBand` and `scaleLinear`, with gridlines from `xScale.ticks()`. Mouse events trigger a React state change that displays a custom tooltip positioned at the cursor.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/bf3fa107db744ee6b6c8591f667488df?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}