{"version":"1.0","type":"rich","title":"Axis wit React and D3","description":"This example displays a horizontal bar chart of the top 10 countries by 2020 population, using React state to manage data loaded asynchronously with `d3.csv`. The visualization manually constructs axes with `d3.scaleLinear` and `d3.scaleBand`, rendering tick marks, labels, and bars as SVG elements. It leverages React hooks (`useState`, `useEffect`, `useCallback`) to trigger the data fetch and update the chart, while D3 utilities handle scaling and data parsing.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b5a0d9a7bd974b088235dbf82af7bd65?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}