🌍 Public
Viewing a saved revision (read-only)
0e1455e474f94eaf8dcfdf0e0c7c952c
Fork of Fork of Fork of Final Project Criminality Line Graph
NNita
Last edited Jul 22, 2025
Created on Jul 22, 2025
This interactive dashboard visualizes U.S. immigration enforcement arrests from fiscal years 2010–2025, comparing trends between convicted criminals and non-criminals using an animated dual-line chart. It employs D3.js v7 for SVG rendering, including d3.line, d3.area, and d3.scaleLinear for axes, with gradient area fills beneath each line. Users can toggle between linear and logarithmic scales via a button, replay animations, and hover over data points to see tooltips with exact values. The dashboard also calculates summary statistics from the CSV data, including totals, percentages, peak years, and recent averages.
AI-generated description