Using the FBI’s definition of an “active shooter” incident (which best describes the kind of event we’re interested in, here; read more below for details), here’s a count (which is presently off by 18 shooting incidents because I had to parse out state counts from an FBI PDF file...
write_image("filepath/filename.svg") # write to pdf fig.write_image("filepath/filename.pdf") For more on static image export: plotly, Static Image Export in Python Q3: Add to the code for at least one of the figures generated earlier in this lab to save the figure as a static ...