{"version":"1.0","type":"rich","title":"Melting Data for Multiple Lines","description":"This visualization displays the history and future of world population as multiple lines, one per country or region, sorted by their final population value. The chart uses a time-based x-axis and a linear y-axis with formatted tick labels, while a color-coded legend identifies each line. Built with D3 v6, the example uses `d3.nest()` to group melted data from two UN population CSV datasets, `d3.line()` with `curveBasis` to generate smoothed paths, and a custom `colorLegend` component to render the ordinal color scale legend.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/6b51f7ce0ad74c5084a394753b02cae8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}