{"version":"1.0","type":"rich","title":"Selecting a Year on a Line Chart","description":"Lines show U.N. population estimates and projections by global region from 1950 to 2100, colored with a categorical scale. Hovering over the chart updates a vertical line marking the selected year, and the visualization redraws accordingly. The code uses d3.csv, d3.nest, d3.line, d3.scaleTime, d3.scaleLinear, and d3.axisBottom to render SVG paths and axes. A legend built with d3.scaleOrdinal and custom colorLegend.js shows region colors.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/85689fab2c994f2f8220088062af56a5?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}