{"version":"1.0","type":"rich","title":"D3 Vanilla Js - Bar Chart","description":"This example shows a horizontal bar chart of country populations using a vanilla D3 v5 setup with SVG rendering. It maps population values to bar widths via `scaleLinear`, country names to vertical positions via `scaleBand`, and renders axes with `axisLeft` and `axisBottom`. Data is loaded from a CSV file and parsed in `index.js`, with bars drawn as SVG `<rect>` elements. The code imports specific D3 modules (`select`, `csv`, `scaleLinear`, `max`, `scaleBand`, `axisLeft`, `axisBottom`) and applies a margin-based layout.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e72e4489d3634906b33e79d0fadc57de?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}