{"version":"1.0","type":"rich","title":"Making a Bar Chart with D3.js and SVG","description":"This example shows the top 10 most populous countries using horizontal bars, with country names on the y-axis and population figures on the x-axis. It renders to an SVG canvas using D3.js v5 and loads its dataset from a CSV file containing population values. The code uses `d3.scaleLinear` for the x-axis, `d3.scaleBand` for the y-axis, and `d3.axisBottom` and `d3.axisLeft` to generate the axes. Bar height comes from the band scale's `bandwidth()`, while a `d3.format` helper abbreviates large population numbers.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c33964abfd294c018c6c8afe8be9ca6f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}