{"version":"1.0","type":"rich","title":"Selecting a Year on a Line Chart","description":"This interactive line chart displays global population trends by region from 1950 to 2100, using data from United Nations population estimates. A vertical line highlights the currently selected year, and hovering over the chart updates the selection to the nearest year. The visualization builds on d3.csv, d3.nest, d3.scaleTime, d3.scaleLinear, and d3.line for rendering SVG paths, with a custom d3.colorLegend for the categorical color scale. The selected year is stored in a state variable and triggers a re-render on change.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/aecebf9b65e9444fb5550e7b6706b15a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}