Skip to main content
Public

Share visualization

Loading preview…

NICS Data - Bar Chart Polishing

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

NICS Data - Bar Chart Polishing

1
Rrpkupfer@wpi.edu
Last edited Nov 5, 2025
Created on Nov 5, 2025

This interactive bar chart displays FBI NICS firearm background check data aggregated by state and year, with stacked bars showing handgun, long gun, other, and multiple gun purchases. Users can filter by year, limit to top states, and sort bars by descending, ascending, or alphabetical order. Hovering reveals tooltip details, while legend interaction dims non-selected categories. The chart uses d3.scaleBand, d3.scaleLinear, d3.axisBottom, and d3.axisLeft, with d3-rosetta's unidirectional data flow managing state and re-rendering.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed