{"version":"1.0","type":"rich","title":"Melting Data for Multiple Lines","description":"This visualization displays population over time by region using multiple lines, with a legend positioned to the right. The chart uses d3.scaleTime, d3.scaleLinear, and d3.scaleOrdinal with schemeCategory10 for color encoding. Data is processed through a custom melt function that reshapes UN population estimates from wide to tidy format, combining estimates from 1950–2014 with medium-variant projections through 2100. The line generator uses curveBasis for smooth paths, while axes employ d3.axisBottom and d3.axisLeft with gridlines.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/97d08757c5df47d9a94b5f6b438bb7f7?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}