{"version":"1.0","type":"rich","title":"Melting Data for Multiple Lines","description":"This visualization displays population trends over time for various global regions, with each region represented as a distinct colored line. The chart highlights how populations evolve from 1950 to 2100, combining historical estimates with medium-variant projections. The code uses d3.nest to group data by region, d3.line with curveBasis for smooth paths, and d3.scaleOrdinal with schemeCategory10 for colors. A custom colorLegend component renders the interactive legend, while data processing in loadAndProcessData.js melts the CSV dataset into a tidy format using d3.range and timeParse.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/122834f00fe1488ead286eab1b280fcc?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}