{"version":"1.0","type":"rich","title":"Fork of Pathetic Bar Chart","description":"This example displays the ten most populous countries as a pathetic bar chart with no axes or labels, using horizontal rectangles sized by each country’s 2020 population estimate. The visualization is built with React and D3 v5, where `d3.csv` loads the United Nations World Population Prospects data, `d3.scaleBand` positions the bars vertically, and `d3.scaleLinear` maps population values to bar widths. Rendered as an SVG, the chart updates from a loading state once the data is fetched, using React’s `useState` and `useEffect` hooks. Data is sorted by population in descending order before the top ten are selected.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9393af57bd1741c681c2ef293233adb5?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}