{"version":"1.0","type":"rich","title":"Making a Bar Chart","description":"This example shows a horizontal bar chart of population by country, using CSV data for ten nations. The chart maps population values to bar widths via a linear scale and country names to rows via a band scale, rendering SVG rectangles. D3 v5 APIs—`csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom`—handle data loading, scaling, and axis generation, with margins applied to an SVG canvas.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9b64b80596dd464d92e7e152f97ae370?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}