{"version":"1.0","type":"rich","title":"Making a bar chart","description":"This example shows a horizontal bar chart of population data for nine countries, ordered from China at the top to Russia at the bottom. The chart uses D3 v5’s `scaleLinear` for the x-axis, `scaleBand` for the categorical y-axis, and `axisLeft`/`axisBottom` to render tick marks. Data is loaded from a CSV file with `d3.csv`, and rectangles are appended to an SVG container with `selectAll('rect')`. A fixed margin layout positions the chart within a 960×500 viewport.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/86ed296c249649ed85a3941806fc5e77?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}