Skip to main content
100%

Deaths by Suicide, Firearm, Alcohol

✓ Published1🌍 Public
PPeter Maida
Last edited Sep 22, 2020
Created on Sep 17, 2020

This visualization displays annual firearm suicide deaths from 2003 to 2017, grouped by sex, with each bar’s height representing death counts. The view uses the Vega-Lite API to encode the Year as a temporal field on the x-axis and Firearm Deaths as a quantitative field on the y-axis, while color distinguishes male and female data. The underlying data is loaded via d3.csv from a public Gist, and the chart is rendered as an SVG using vega-lite-api with vega-tooltip for interactive hover details. Bar opacity and size are fixed at 0.5 and 30 pixels, respectively.

AI-generated description

A visualization constructed using the vega-lite-api that shows the number of male and female firearm deaths from 2003-2017.

The data shown here comes from Gist: Deaths by Suicide, Firearms, Alcohol.

MIT Licensed

Similar vizzes