{"version":"1.0","type":"rich","title":"Fork of Selecting a Year on a Line Chart","description":"This line chart displays population over time by region, with a movable vertical line that selects a year and highlights the corresponding data point. The visualization uses D3 v5’s `scaleTime`, `scaleLinear`, and `axisBottom`/`axisLeft` to render SVG axes, while `d3.line` with `curveBasis` draws the smoothed paths. A `mouse` event on an overlay rectangle updates the selected year, and a color legend built with `scaleOrdinal` and `schemeCategory10` identifies each region. Data comes from UN population estimates (1950–2014) and medium-variant projections (2015–2100).","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f8509c694009440c92dffb9f0cd9cff2?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}