{"version":"1.0","type":"rich","title":"Making a Bar Chart","description":"This example produces a bar chart using D3.js, displaying the population of ten countries. D3’s `scaleLinear` maps population values to horizontal bar widths, while `scaleBand` positions each bar vertically by country name, with `bandwidth()` setting bar height. The visualization is rendered as SVG, generated by appending rectangles within an `svg` element. Data is loaded from a local CSV file, with population values converted to numbers before the chart is drawn.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b1fecdc6b04945b08f72c6cd582c8f0c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}