{"version":"1.0","type":"rich","title":"Making a Bar Chart","description":"This example shows a horizontal bar chart of the populations of ten countries, using data from a CSV file. The chart renders as SVG, with country names on the y-axis and population totals on the x-axis, scaled linearly. The code uses D3 v5 methods like `csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to load data, compute scales, and draw axes, while appending rectangles for each bar. Population values are multiplied by 1000 after parsing.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/2674d2ee457f41c78a34868fe6c50287?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}