{"version":"1.0","type":"rich","title":"Making Bar Chart with D3.js","description":"This example shows a simple horizontal bar chart of country populations, with each bar’s width proportional to the population value from the CSV file. The visualization uses D3 v5’s `scaleLinear` for the x-axis and `scaleBand` for the y-axis, rendering SVG `rect` elements inside a fixed 960×500 viewport. It loads data asynchronously via `csv()`, converts population strings to numbers, and appends the bars using a data join.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/133e8f62ee824197a2482d9bdc05b3dd?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}