{"version":"1.0","type":"rich","title":"Selecting a Year on a Line Chart","description":"This visualization displays global population trends over time as a multi-line chart, with each line representing a different country and colored via `d3.scaleOrdinal`. Users hover over the chart to select a year, which triggers a vertical line and updates the visualization through a `mousemove` event using `d3.pointer` and `xScale.invert`. The chart renders with SVG, uses `d3.scaleTime` and `d3.scaleLinear` for axes, and generates paths with `d3.line` and `d3.curveBasis`. Data comes from UN population estimates processed through `d3.csv` and `topojson`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e23eaeb50a5d469b8ec597fb8a902e06?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}