{"version":"1.0","type":"rich","title":"Making a bar chart","description":"This example shows a horizontal bar chart of population data for ten countries, using scaled bar widths to represent each country’s population in thousands. The visualization is built with D3 v5, using `d3.csv` to load the data, `d3.scaleLinear` for the x-axis, and `d3.scaleBand` for the y-axis categories. SVG rectangles are appended to a grouped `<g>` element with margins, and the population values are parsed and multiplied by 1000 before rendering. The chart displays the data directly without axes or labels, focusing on the bar lengths.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/290cfb377171473bbc3e92bd427f48af?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}