{"version":"1.0","type":"rich","title":"Refactored bar chart","description":"This example presents a horizontal bar chart of the ten most populous countries, with no axes. It uses React and D3 v5's `scaleBand` and `scaleLinear` to position bars, while manually rendering tick marks and labels for both axes. Data comes from the United Nations World Population Prospects 2019 CSV, filtered to the top ten entries via `d3.csv`. The SVG output is generated entirely through React components, with loading state handled by a custom `useData` hook.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/fa0e384cd59d48b8b8a4c8770f52bf41?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}