{"version":"1.0","type":"rich","title":"Let's make a bar graph","description":"This example shows a horizontal bar graph of population data for ten countries, with bar lengths scaled proportionally to each country’s population. The visualization is built with D3.js (version 5) using `d3.csv` to load the data, `scaleLinear` for the x-axis, and `scaleBand` for the y-axis categories. Rectangles are appended to an SVG canvas, with each bar’s width set by the linear scale and height by the band scale’s bandwidth. The data is loaded from a CSV file and multiplied by 1000 to convert values to actual population counts.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/a6f7fc56d67740f5b78422ca56beb28b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}