{"version":"1.0","type":"rich","title":"Making a Bar Chart with React & D3","description":"This example demonstrates a bar chart that ranks the ten most populous countries in 2020, using a horizontal layout where bar length corresponds to population size. The visualization uses React for declarative SVG rendering, with D3.js utilities handling data loading via `d3.csv`, creating categorical scales with `d3.scaleBand`, and continuous scales with `d3.scaleLinear` and `d3.max`. The code fetches population data from a CSV URL and transforms each row before rendering the bars as SVG rectangles.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7a7a889b7cd84fefbc575e063c165ed2?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}