{"version":"1.0","type":"rich","title":"Making a barchart","description":"This example shows a horizontal bar chart of country populations, using D3 v6 to load data from a CSV file and render it as SVG rectangles. The visualization orders countries by descending population, with bar lengths scaled linearly and categorical spacing handled by `d3.scaleBand`. The code uses `d3.csv` to parse the data, `d3.scaleLinear` for the x-axis, `d3.axisLeft` and `d3.axisBottom` for labeled axes, and appends styled `<rect>` elements to the SVG.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/683eb473a3494bb28867dbc1da357df7?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}