Skip to main content
100%

Unemployment rate in UK #HAW25

✓ Published0🌍 Public
Wwuc280@haw-hamburg.de
Last edited Dec 5, 2025
Created on Dec 5, 2025
Forked from CV: Line Chart

This interactive line chart visualizes UK unemployment rates from 1971 to 2024, with data parsed from a CSV file. Users can filter by year range using dual sliders, toggle the line visibility via a checkbox, and view statistical summaries for the selected period. The visualization uses React with D3 v7, leveraging `d3.csv` for data loading, `d3.scaleLinear` for scales, and `d3.line` for the path generation. A hover overlay with bisector-based nearest-point detection shows tooltips with exact values.

AI-generated description

Interactive Unemployment Rate Visualization

An interactive D3.js + React visualization of unemployment rates over time.

Features

  • Interactive Year Range Slider: Filter data by year range
  • Hover Tooltips: See exact values when hovering over the line
  • Toggle Line: Show/hide the visualization
  • Statistics Panel: View min, max, and average unemployment rates for the selected range
  • Responsive Design: Adapts to different screen sizes

How to Use

  1. Use the year range sliders to filter the data
  2. Hover over the line to see exact unemployment rates
  3. Toggle the "Show Line" checkbox to hide/show the visualization
  4. View real-time statistics for the selected data range

Data Source

Historical unemployment rates (aged 16+, seasonally adjusted) from 1971-2019.

MIT Licensed

Similar vizzes