Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Selecting a Year on a Line Chart

Public visualization

Fork of Selecting a Year on a Line Chart

0 stars0🌍 Public
GGerasimos Katsagannis
Last edited May 23, 2022
Created on May 23, 2022

This fork of a line chart example uses d3.v5 to visualize vaccination data over time, with a vertical line marking a selected year. Users can hover over the chart to update the selected year via a mouse interceptor that inverts the x-scale, and a d3.ordinal color scale distinguishes regions. The visualization is rendered with SVG, axes, and line paths using d3.line and curveBasis, with data processed from CSV files.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed