{"version":"1.0","type":"rich","title":"making a bar chart","description":"This example shows a horizontal bar chart ranking the populations of nine countries, using a CSV data file as its source. The chart loads the data with `d3.csv` and renders SVG rectangles scaled by `d3.scaleLinear` for population and `d3.scaleBand` for country categories. It adds axes via `d3.axisLeft` and `d3.axisBottom`, with margins and padding configured for clear labels. The visualization demonstrates a straightforward, reusable pattern for building bar charts with D3 v5.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9aa5941b18684fcca2a1ef5ea019cd1a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}