Skip to main content
100%

CPSC 436V Week 7 - Selecting a Year on a Line Chart

✓ Published0🌍 Public
JJordan Chiu
Last edited Feb 19, 2020
Created on Feb 18, 2020

A line chart displays United Nations population estimates and medium-variant projections from 1950 to 2100, with one multi-colored line per world region. Users hover over the chart to select a year, shown as a vertical black line. The visualization uses d3.line with curveBasis, d3.scaleTime, d3.scaleOrdinal, and d3.nest to group data, and d3.mouse for interaction on the SVG.

AI-generated description

Tutorial from YouTube

MIT Licensed

Similar vizzes