{"version":"1.0","type":"rich","title":"Selecting a Year on a Line Chart","description":"The visualization displays population over time for world regions with selectable year brackets, showing trajectories from 1950 through 2100 using a line chart with a color-coded legend. A vertical guide line appears at the selected year, and users can update the selection by mousing over the chart, which triggers the `setSelectedYear` callback. The code uses D3 v5’s `nest` for data grouping, `scaleTime` and `scaleLinear` for axes, `curveBasis` for line smoothing, and SVG rendering with data from UN population estimates.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/be6af2210e99447abeacd687bdb6aa0e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}