Skip to main content
100%

Fork of Fork of Selecting a Year on a Line Chart

✓ Published0🌍 Public
Rrajeshathakur
Last edited Apr 24, 2021
Created on Apr 24, 2021

This interactive D3.js visualization displays global population trends over time by region, using a multi-line chart with a movable vertical selector. Users can hover over the chart to change the selected year, which shifts a vertical line across the graph, updating the visualization. The implementation uses D3's scaleTime, scaleLinear, nest, and axis utilities, with SVG rendering. It employs the colorLegend and lineChart modules for custom SVG elements, and loads UN population estimates from CSV data, using the curveBasis for line smoothing.

AI-generated description
MIT Licensed

Similar vizzes