{"version":"1.0","type":"rich","title":"Making a Bar Chart with D3.js and SVG","description":"This example displays a horizontal bar chart of country populations using D3.js v6 and SVG, with data loaded from a CSV file via `d3.csv`. It shows the population of each country scaled linearly on the x-axis and categorically on the y-axis using `scaleLinear` and `scaleBand`. The chart renders axes with `axisLeft` and `axisBottom`, and applies a fixed top, right, bottom, and left margin to position the plot area. Bars are appended as SVG rectangles with steelblue fill, and the code uses `select`, `max`, and `csv` from the D3 module.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/66ef41629a5a4f8692fefd7fd3d90625?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}