{"version":"1.0","type":"rich","title":"Fork of Fork of Rendering data with react","description":"This example renders a horizontal bar chart of the top 10 countries by 2020 population, loading data from a CSV file of UN population estimates. The visualization uses React with the `useState` and `useEffect` hooks to fetch and store the data via `d3.csv`, then maps over the dataset to generate SVG `<rect>` elements. Position and size are determined by `d3.scaleBand` for the categorical country axis and `d3.scaleLinear` for the population values, while `d3.max` computes the domain for the linear scale.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/2f55405f256c4f2191938be1af6e6008?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}