{"version":"1.0","type":"rich","title":"Melting Data for Multiple Lines","description":"This visualization shows population change over time for different world regions, with multiple lines plotted on a shared time axis to compare regional trends. The chart uses a color-coded legend to distinguish each region. The code processes a UN dataset by \"melting\" the data from wide to long format, using `loadAndProcessData` to combine estimates and projections. It renders with D3 v5’s `scaleTime`, `scaleLinear`, `line`, and `curveBasis` for smooth lines, plus custom `colorLegend` and `axisBottom`/`axisLeft` helpers.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/31d85c013a7d4031a4bcc7233250a261?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}