{"version":"1.0","type":"rich","title":"Creating a bar Chart","description":"This example shows a horizontal bar chart ranking the populations of ten countries from a CSV file, using rectangular bars scaled to population values on an x-axis. It relies on D3 v5 modules including `csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to load the data, map values, and render axes. The SVG is drawn with a margin-based layout, where bands represent countries on the y-axis and bar widths reflect population sizes. The visualization demonstrates a basic, reusable pattern for building bar charts with D3's data-join and SVG rendering.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/5cfab59973654bbea429c604d5fcd4ce?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}