{"version":"1.0","type":"rich","title":"Selecting a year on line chart","description":"This line chart displays world population estimates by region from 1950 to 2100, using data from the UN Population Estimates and Medium Variant datasets. A vertical line marks the currently selected year, which updates as the user moves the mouse across the chart. The visualization is built with D3 v5, using `d3.nest` to group data by region, `d3.line` with `curveBasis` for smooth paths, and `d3.axisBottom` and `d3.axisLeft` for axes. Hovering triggers `d3.mouse` and `xScale.invert` to detect the year, then re-renders the selection line.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7bd540f8bc444cc29f8646ac5c8a7e95?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}