{"version":"1.0","type":"rich","title":"Refactored React Bar Chart","description":"This example shows the population of the ten most populous countries in 2020, using data from the United Nations World Population Prospects. A React component renders an SVG bar chart where each country’s bar length is proportional to its population. The code uses `d3.csv` to load the data, `d3.scaleLinear` and `d3.scaleBand` to position bars, and separate React components for the axes and marks. The bottom axis uses `xScale.ticks()`, while the left axis displays country names, with bars styled in steel blue.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/6ddf07686edf4949901fda0bfeb0b9cf?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}