{"version":"1.0","type":"rich","title":"Axis with React and D3","description":"This example visualizes the top 20 countries by 2020 population as a horizontal bar chart, using React for rendering and D3 for data loading and scales. It fetches CSV data with `d3.csv` and constructs band and linear scales via `d3.scaleBand` and `d3.scaleLinear`. Axes are hand-drawn as SVG lines and text elements, with ticks generated from `xScale.ticks()`. The React component manages state with hooks (`useState`, `useEffect`) and updates the SVG output accordingly.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7dac3f6ca3e34f5aa2bea13607e35dd0?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}