File:ACRO fatalities.svg

Summary

Description
English: This is a graph showing statistics of air accident fatalities 1918-2017, from ACRO records. http://www.baaa-acro.com/statistics/death-rate-per-year . It may be updated when new data becomes available.
Date
Source Own work
Author Geek3
SVG development
InfoField
Source code
InfoField

Python code

#! /usr/bin/env python
# -*- coding:utf8 -*-

import matplotlib.pyplot as plt
from math import *

plt.style.use('classic')
years = range(1918, 2018+1)
fatalities = [4, 33, # 191x
  53,   42,   86,   51,   26,   32,   70,  107,  173,  257, # 192x
 185,  166,  124,  199,  198,  317,  397,  339,  624,  482, # 193x
1123, 1118, 2714, 4032, 4542, 4665, 2064, 1896, 1973, 1905, # 194x
2191, 2295, 2354, 1971, 1639, 1292, 1273, 1421, 1679, 1417, # 195x
1891, 1707, 2301, 1698, 1617, 2187, 2139, 2245, 2310, 2520, # 196x
2266, 2228, 3346, 2814, 2621, 1856, 2419, 2449, 2042, 2511, # 197x
2203, 1506, 1958, 1921, 1273, 2968, 1763, 2064, 2313, 2507, # 199x
1631, 1957, 2299, 1760, 2018, 1828, 2796, 1768, 1721, 1150, # 199x
1586, 1539, 1418, 1233,  767, 1463, 1298,  981,  887, 1108, # 200x
1130,  828,  800,  453, 1328,  899,  629,  399, 1040] # 201x

fsize = 20
fig = plt.figure(figsize=(600 / 90.0, 450 / 90.0), dpi=72)
plt.plot(years, fatalities, 'bo-', linewidth=1, markersize=5)
plt.grid(True)
plt.xlim(floor(min(years)/10.)*10., ceil(max(years)/10.)*10.)
plt.ylim(0, 4000)
plt.gca().ticklabel_format(useOffset=False)
plt.ylabel('Fatalities')
plt.title('ACRO: air accident fatalities %s-%s' % (min(years), max(years)))
plt.tight_layout()
plt.savefig('ACRO_fatalities.svg')
This file may be updated to reflect new information. If you wish to use a specific version of the file without it being overwritten, please upload the required version as a separate file.
Category:Files that need updating

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
Category:CC-BY-SA-4.0#ACRO%20fatalities.svg
Category:Self-published work Category:Aircraft accident statistics Category:SVG created with Matplotlib Category:English-language SVG charts Category:Photos by User:Geek3
Any autoconfirmed user can overwrite this file from the same source. Please ensure that overwrites comply with the guideline.
Category:Files allowed to be overwritten by everyone
Category:Aircraft accident statistics Category:CC-BY-SA-4.0 Category:English-language SVG charts Category:Files allowed to be overwritten by everyone Category:Files that need updating Category:Photos by User:Geek3 Category:SVG created with Matplotlib Category:Self-published work Category:Valid SVG created with Matplotlib code