{"version":"1.0","type":"rich","title":"Selecting a Year on a Line Chart","description":"This visualization shows United Nations population projections from 1950 to 2100 as a multi-line chart, with each line representing a regional grouping such as \"More developed regions\" or \"Less developed regions.\" A vertical black line marks the currently selected year, and moving the mouse across the chart updates this selection, allowing users to compare population values across regions at a specific point in time. The chart is built with D3 v5, using `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and a `line` generator with `curveBasis` for smooth paths. A `colorLegend` module renders the categorical color scale, while data is loaded from two CSV files using `csv` and processed via a `melt` function that reshapes the wide format into tidy long-form rows.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c24dde66e47e41caa9350a9581ffe2ed?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}