{"version":"1.0","type":"rich","title":"Making a Bar Chart","description":"A bar chart displays population data for five countries using horizontal bars. The example builds the chart through D3.js version 5, using `d3.csv` to load the data, `d3.scaleLinear` for the x-axis, and `d3.scaleBand` with padding for the y-axis categories. Rectangles are appended to an SVG element, with bar widths proportional to each country's population. The code marks a basic introduction to D3's data-binding and scale functions.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/34d427f08d0e4dce841650d5f4791b8c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}