{"version":"1.0","type":"rich","title":"Let's make a face with D3.js","description":"This example displays a horizontal bar chart of country populations using D3.js, with bars rendered as SVG rectangles. The chart scales bar widths linearly against population values and positions them along a band scale for country names. The code imports specific D3 modules (`select`, `csv`, `scaleLinear`, `max`, `scaleBand`) to load data from a CSV file, parse population numbers, and bind the data to rectangle elements. Each bar’s height is set by the band scale’s bandwidth, creating a simple, clean visualization of comparative country sizes.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/aefa3a064a4b40349c3a53c19093b47f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}