{"version":"1.0","type":"rich","title":"Making a Bar Chark","description":"This example shows a horizontal bar chart of country populations using D3.js v5. The SVG canvas displays bars whose lengths correspond to each nation’s population value from a CSV file, with country names listed along the vertical axis. The code uses `d3.csv`, `d3.scalelinear`, `d3.scaleBand`, and `d3.max` to map data to coordinates, appending `rect` elements to the SVG. Populations are parsed as numbers before rendering, and the chart loads asynchronously via the `csv` function.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/84a53dbe41b84d5094920754d3c2ee13?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}