{"version":"1.0","type":"rich","title":"Making a Bar Chart","description":"This example shows a horizontal bar chart of the ten most populous countries, using the `d3.csv` loader to read the data file and the `d3.scaleLinear` and `d3.scaleBand` functions to map population and country names to the SVG canvas. The code builds the visualization by appending a `g` element, adds axes with `d3.axisLeft` and `d3.axisBottom`, and renders the bars as `rect` elements with a steelblue fill. The chart is a static SVG, with the y-axis labeled by country and the x-axis scaled to the population values.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ab18c268d198426aae05ec20a3088b9d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}