{"version":"1.0","type":"rich","title":"Making a Barchart","description":"This example shows a horizontal bar chart comparing the populations of ten countries, from China to Mexico. The chart uses D3 v5 APIs including `csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to load the data, map values to positions, and render axes. Bars are drawn as SVG `rect` elements with a steelblue fill, and population values are multiplied by 1000 in the data-loading step before the visualization is rendered. The layout applies margins and transforms the main group to position the chart within the SVG canvas.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/572a75362d6e41ce92db1737cf0eb8c7?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}