{"version":"1.0","type":"rich","title":"Making a Bar Chart","description":"This example shows a horizontal bar chart ranking the populations of the world’s ten most populous countries, with bars ordered from China down to Mexico. The visualization uses D3 v5’s `csv` method to load data from a local CSV file, converting population values to absolute numbers before rendering. It builds scales with `scaleLinear` for the x-axis and `scaleBand` for the categorical y-axis, and draws the bars as SVG `rect` elements. Axes are generated using `axisLeft` and `axisBottom`, with the chart laid out inside a configured margin.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f6a9bb1bdecc46ffa4bbf68bdb1d8172?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}