{"version":"1.0","type":"rich","title":"Pathetic Bar Chart","description":"This example uses React and D3 to render a horizontal bar chart of the ten most populous countries from a UN population dataset. The visualization shows country names on the y-axis and population totals on the x-axis, with each bar’s length proportional to its population value. The code loads CSV data via `d3.csv`, assigns ordinal y-axis scales using `d3.scaleBand`, and a linear x-axis scale constructed with `d3.scaleLinear` and `d3.max`. React’s `useEffect` hook triggers the asynchronous data fetch, and the final SVG is built by mapping over the data to output `rect` elements.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7049aa4be5794430b6af714acdeadf5a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}