{"version":"1.0","type":"rich","title":"Fork of Axes with React & D3","description":"This example shows a horizontal bar chart ranking the top 10 countries by 2020 population, using data from a CSV file on UN population statistics. The chart renders as SVG, with axes drawn manually: x-axis ticks and gridlines are generated from `xScale.ticks()`, while y-axis labels are placed using a `scaleBand`. The code integrates React hooks (`useState`, `useEffect`) with D3 v5 functions (`csv`, `scaleLinear`, `scaleBand`, `max`) to load data asynchronously and compute scales, then uses React to map data to `<rect>` and `<text>` elements.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/3837bf4bfd6e422ba1ec1eacb32ba27a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}