Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

NICS Data - Bar Chart Interactive Legend

Public visualization

Viewing a saved revision (read-only)

9bbb52455e674b19b50b9bc437b5df31

NICS Data - Bar Chart Interactive Legend

0 stars1🌍 Public
Rrpkupfer@wpi.edu
Last edited Oct 22, 2025
Created on Oct 22, 2025

This interactive bar chart visualizes firearm background check data across U.S. states, showing stacked totals by gun type (handgun, long gun, other, and multiple) for a selected year. Users can filter by year and choose to display the top 10, top 25, or all states. Hovering over bars reveals detailed category tooltips, while hovering over the legend highlights a specific gun type. Built with D3 v7 and d3-rosetta, it uses scaleBand and scaleLinear for axes, transitions to animate opacity changes, and CSV-loaded data aggregated per state.

AI-generated description