{"version":"1.0","type":"rich","title":"Making a bar chart","description":"This example visualizes the population of the ten most populous countries in 2018, using a horizontal bar chart drawn with SVG. The data, sourced from the United Nations, is loaded from a CSV file and parsed with D3’s `csv` method, then mapped to pixel positions using `scaleLinear` and `scaleBand`. The chart displays axes generated via `axisLeft` and `axisBottom`, with bars rendered as `rect` elements. D3 v5’s selection and data-join methods are used to bind and draw each bar.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7cb7ed7e05014869a4a5ff9e762fd44e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}