{"version":"1.0","type":"rich","title":"Fork of Rendering Data with React & D3","description":"This example shows a horizontal bar chart of the top 10 countries by 2020 population, using SVG rectangles rendered by React. The code loads the UN Population 2019 dataset via `d3.csv`, processes the population values, and maps the data through `scaleBand` and `scaleLinear` for positioning. React hooks manage the asynchronous data loading and state, while the `max` utility from D3 determines the x-axis domain. The bars are drawn directly as `<rect>` elements, with widths proportional to each country’s population.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e003eeb97c65493fa2ab8a1b0ba8d9a4?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}