{"version":"1.0","type":"rich","title":"Making a Bar Chart","description":"This example shows a horizontal bar chart of population by country, ordered from most to least populous, with each bar’s length encoding the population value. The visualization uses d3.csv to load data from a CSV file, d3.scaleLinear for the x-axis, d3.scaleBand for the y-axis, and d3.axisLeft and d3.axisBottom for the axes. Bars are rendered as SVG rectangles, with a fixed margin and responsive inner chart area computed from the SVG’s width and height attributes. The code uses d3.v5 and is structured as a React-compatible plain JavaScript module.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/20ec335f3eb341479e33302e3862aa04?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}