{"version":"1.0","type":"rich","title":"Making a Bar Chart","description":"This example uses a static dataset of 2017 population estimates for twelve countries, rendered as horizontal bars with `d3.scaleLinear` and `d3.scaleBand`. A D3 selection appends SVG `rect` elements whose widths are proportional to each country’s population, with axes created via `d3.axisLeft` and `d3.axisBottom`. The code loads `data.csv` asynchronously with `d3.csv`, converts population values to thousands, and applies margins to position the chart within an SVG of 960 by 500 pixels.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/55be6ee7abf24b2680bed7febe61a8d1?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}