Selecting a Year on a Line Chart
This interactive line chart displays population over time for different world regions, with a vertical line marking the currently selected year. Users can hover anywhere on the chart to update the selection and the line position. Built with D3 v5, it uses `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` with `curveBasis`, plus `nest` for grouping data by region. The visualization renders as SVG and loads UN population estimates from CSV files, using `mouse` events to trigger selection updates.