{"version":"1.0","type":"rich","title":"Axes with React & D3","description":"This example shows a horizontal bar chart of the top ten most populous countries for 2020, with axes rendered manually. It loads UN population data via `d3.csv` and uses React’s `useState` and `useEffect` hooks to fetch and store the data. The chart builds `d3.scaleBand` and `d3.scaleLinear` scales to position bars and gridlines, mapping tick values to SVG `<line>` and `<text>` elements. All marks—rectangles, axis lines, and labels—are rendered as SVG within React components.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/596617e9de5442a4be0e97fb94f47f36?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}