File:Bevölkerungsentwicklung Kaufbeuren 1997-2021.svg

Summary

Description
Deutsch: Die Bevölkerungsentwicklung Kaufbeuren von 1997 bis 2021
English: The population development of Kaufbeuren from 1997 to 2021
Date
Source Own work, Source of data: Stadt Kaufbeuren Zahlen – Daten – Fakten 31.12.2022 (p. 16)
Author Anton Porsche
SVG development
InfoField
 The source code of this SVG is invalid due to an error.
Source code
InfoField

Python code

# coding: utf-8
#!/usr/bin/env python
import matplotlib.pyplot as plt
import numpy as np

data = np.array([
    [1997, 42105],
    [1998, 41800],
    [1999, 41772],
    [2000, 41905],
    [2001, 42246],
    [2002, 42665],
    [2003, 42581],
    [2004, 42430],
    [2005, 42183],
    [2006, 41945],
    [2007, 42043],
    [2008, 41966],
    [2009, 41881],
    [2010, 41843],
    [2011, 41745],
    [2012, 41570],
    [2013, 41759],
    [2014, 42014],
    [2015, 42731],
    [2016, 43134],
    [2017, 43478],
    [2018, 43893],
    [2019, 44398],
    [2020, 44662],
    [2021, 45118]])

# Prepare axis
fig = plt.figure(figsize=(8, 3))
ax = fig.add_subplot(111)

# Plot data
years = data[:, 0]
people = data[:, 1]
baseline = 40000
ax.fill_between(years, people, y2=baseline, color='#000066', edgecolor='black',
                alpha=0.6, lw=2)

# Cosmetics
plt.xlim(min(years), max(years))
ax.minorticks_on()
fig.subplots_adjust(bottom=0.15)
plt.grid()
plt.title(u'Bevölkerungsentwicklung in Kaufbeuren')
plt.xlabel('Jahr')
plt.ylabel('Einwohner')

# Save figure
plt.savefig('KaufbeurenBevoelkerung.svg', transparent=True)

Basiert auf Bevölkerungsentwicklung_Kaufbeuren.svg (CC BY-SA 3.0)

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#Bevölkerungsentwicklung%20Kaufbeuren%201997-2021.svg
Category:Self-published work
Category:History of Kaufbeuren Category:Statistics of Kaufbeuren Category:Temporal population graphs of Bavaria
Category:CC-BY-SA-4.0 Category:History of Kaufbeuren Category:Invalid SVG created with Matplotlib code Category:Self-published work Category:Statistics of Kaufbeuren Category:Temporal population graphs of Bavaria