Wolfram Research

Mass Shootings in America

Stanford mass shootings database

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["Mass Shootings in America"]
Out[1]=

View a sample of the data:

In[2]:=
RandomChoice[ResourceData["Mass Shootings in America"], 5][[All, 1 ;; 15]]
Out[2]=

Visualization

Show the number of victim fatalities from mass shootings in America:

In[3]:=
Histogram[
 Transpose[
  ResourceData["Mass Shootings in America"][
   All, {"Number of Victim Fatalities"}]]]
Out[3]=

Show the number of victims injured from mass shootings in America:

In[4]:=
Histogram[
 Transpose[
  ResourceData["Mass Shootings in America"][
   All, {"Number of Victims Injured"}]]]
Out[4]=

Wolfram Research, "Mass Shootings in America" from the Wolfram Data Repository (2017) https://doi.org/10.24097/wolfram.97542.data

Data Resource History

Source Metadata

Data Downloads

Publisher Information