{"version":"1.0","type":"rich","title":"Making a bar chart with D3.js","description":"This example shows a horizontal bar chart of the ten most populous countries, using population totals from a CSV file. The chart displays each country’s name on the y-axis and its population on the x-axis, with bars rendered as SVG rectangles. The code uses d3.csv to load data, d3.scaleLinear for the x-axis, d3.scaleBand for the y-axis, and d3.axisLeft and d3.axisBottom to generate the axes. Bars are filled with steelblue via CSS, and the visualization is built with d3.v6 in an SVG container.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/40018f5f2c2b45b0b497d9b90839d043?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}