{"version":"1.0","type":"rich","title":"Making a bar chart","description":"This example shows a horizontal bar chart of population data for ten countries, with bars sized proportionally to each nation’s population and labeled along the left axis. The code loads data from a CSV file, multiplies the population values by 1,000, and renders the chart as SVG using D3 v5 APIs such as `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom`. Bars are drawn as `rect` elements, transformed into place with a margin-based group, while the axes are appended via D3’s axis components.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/aab2cb4efa8f4b47bf69b2ae6d8cbd19?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}