{"version":"1.0","type":"rich","title":"Making a bar chart","description":"This example demonstrates a basic bar chart of country populations, with each country represented by a fixed-size rectangle positioned sequentially from the top-left of the SVG canvas. The code loads population data from a CSV file using `d3.csv`, converts the population values to numbers by multiplying them by 1000, and renders the rectangles with `d3.select` and `selection.append`. While the bars are currently all the same width and height, the example illustrates the core pattern of binding data to SVG elements in D3 v5.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ee95a104dbde4a63b1e81c36ebbff654?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}