{"version":"1.0","type":"rich","title":"Making a Bar Chart","description":"This example demonstrates how to build a simple bar chart showing the 2018 population estimates for the top ten most populous countries, using a dataset from the United Nations World Population Prospects. The visualization initially renders all bars with a fixed width and height of 300 pixels, using D3 v5’s `selectAll` and `data` join to append SVG `rect` elements. The code includes a `scaleLinear` instance that maps a domain of 0 to 100 to a range of 0 to 30, though it is not yet applied to the bar dimensions. The data is loaded from a CSV file and parsed by converting the population string to a number multiplied by 1000.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/2c8dbe69e3744bdf9111c3f801d5687e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}