{"version":"1.0","type":"rich","title":"Making a bar chart","description":"This example shows a horizontal bar chart ranking the ten most populous countries, with population values on the x-axis and country names on the y-axis. The code uses D3 v5’s `csv` loader to parse `data.csv`, then constructs the chart with `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom`. Bars are rendered as SVG `rect` elements, with dashed grid lines from a custom tick size and a formatted population axis using `format('.3s')`. Styling is applied via external CSS.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/070b4a1effd943518543f93f2beb4b57?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}