{"version":"1.0","type":"rich","title":"Loading and Parsing CSV Data","description":"This visualization presents a horizontal bar chart of country populations, ranking nations from China to Mexico. It demonstrates how to load external CSV data and convert it into a visual form. Using D3 v5, the code employs `select`, `csv`, `scaleLinear`, `scaleBand`, and `max` to parse the data file, transform population values from thousands to raw counts, and map them to bar lengths. The SVG rendering scales the bands to fit the fixed canvas dimensions.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/85bbda04dec5498993d1d83fd9ebe238?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}