{"version":"1.0","type":"rich","title":"Making a bar chart","description":"This example shows a horizontal bar chart ranking the populations of ten countries, from China at the top to Mexico at the bottom. Using D3 v5, the code loads the data with `d3.csv`, maps population values with a linear scale, and positions bars with a band scale. It draws an SVG with `d3.axisLeft` for the country labels and a bottom axis created via a custom `axisBottom` call, while styling removes domain lines and ticks.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/52965e535f5348b29adacd6138ad365f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}