{"version":"1.0","type":"rich","title":"Making a Bar Chart","description":"This example shows the top 10 countries by population in 2022 using a horizontal bar chart, with countries on the y-axis and population counts on the x-axis. The code uses d3.csv to load data from a local CSV file, d3.scaleLinear and d3.scaleBand for scaling, and d3.axisLeft and d3.axisBottom to render axes. It loads a dataset from Worldometer, parses population values as numbers, and appends SVG rectangles styled with steelblue fills to visualize the bars within a predefined margin layout.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/6b859375403d4f4197b62dec67185a46?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}