{"version":"1.0","type":"rich","title":"Bar chart with D3.js","description":"A horizontal bar chart displays population estimates for ten countries, using a CSV dataset loaded via D3's `csv` method. The visualization ranks countries from China to Mexico along a linear x-scale, with a band scale positioning each categorical bar. SVG rectangles are appended to a grouped `<g>` element, with axes generated using `axisLeft` and `axisBottom`. D3 v5's `scaleLinear`, `scaleBand`, and `max` utilities handle the data mapping, while margin conventions and transform attributes position the chart within a 960×500 SVG viewport.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/8fb79cf4e40d4502b6aa9c37066997f5?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}