{"version":"1.0","type":"rich","title":"Melting Data for Multiple Line Chart","description":"This visualization displays a week of temperature readings for multiple cities using a multi-line chart. The code reshapes the UN Population Estimates data into a tidy format via `d3.nest()` to group measurements by city, then renders smooth paths with `d3.line()` and `curveBasis`. Axes are generated with `axisBottom` and `axisLeft`, while a custom `colorLegend` function uses `scaleOrdinal` and `schemeCategory10` to assign city colors. Data loads from a CSV file via `d3.csv`, and the chart includes a title, labeled axes, and a legend positioned at the right margin.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/eafdf2962a8940cdabf7b91a4eff8af1?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}