{"version":"1.0","type":"rich","title":"Making a bar chart","description":"This example shows a horizontal bar chart of population counts for the top 10 most populous countries, using data from a CSV file. The bars are rendered as SVG rectangles, with a linear scale mapping population to bar width and a band scale for country labels. The code uses D3 v5 functions including `csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom`, with tick labels formatted via `format('.3s')`. A React starter template is referenced, though the visible implementation uses plain D3 with an SVG container.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/28d3ed15200d479ab1c196fea64f1f70?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}