Skip to main content
100%

Danil Selecting a Year on Line Chart

✓ Published0🌍 Public
Ssakhabutdinov
Last edited Apr 4, 2020
Created on Apr 3, 2020

This line chart shows population trends over time for global regions, with a vertical black line marking the currently selected year and circles highlighting data points at that year. Users can hover over the chart to update the selected year, which re-renders the visualization using D3’s scaleTime, scaleLinear, line generator with curveBasis, and an axis with custom tick formatting. Data comes from UN population estimates (1950–2014) combined with medium-variant projections (2015–2100), processed via nest() and loaded through csv(). The SVG includes a color legend and styled grid lines.

AI-generated description
MIT Licensed

Similar vizzes