Zum Inhalt springen

Kyllburg: Unterschied zwischen den Versionen

4.766 Bytes hinzugefügt ,  21. Januar 2019
K
KKeine Bearbeitungszusammenfassung
Zeile 80: Zeile 80:
Die Stadtfarben sind rot und weiß.
Die Stadtfarben sind rot und weiß.


== Bevölkerung ==
== Bevölkerung ==
<graph>
{
  "version": 2,
  "width": 500,
  "height": 250,
  "padding": "auto",
  "data": [
    {
      "name": "table",
      "values": [
        {"year": 1815,"population": 708},
        {"year": 1835,"population": 981},
        {"year": 1871,"population": 1140},
        {"year": 1905,"population": 1139},
        {"year": 1939,"population": 1288},
        {"year": 1961,"population": 1242},
        {"year": 1965,"population": 1178},
        {"year": 1970,"population": 1122},
        {"year": 1975,"population": 1126},
        {"year": 1980,"population": 1093},
        {"year": 1985,"population": 1044},
        {"year": 1987,"population": 1045},
        {"year": 1990,"population": 1074},
        {"year": 1995,"population": 1153},
        {"year": 2000,"population": 1104},
        {"year": 2004,"population": 1051},
        {"year": 2005,"population": 1005},
        {"year": 2009,"population": 956},
        {"year": 2010,"population": 955},
        {"year": 2012,"population": 880},
        {"year": 2013,"population": 886},
        {"year": 2014,"population": 862},
        {"year": 2015,"population": 870},
        {"year": 2016,"population": 884},
        {"year": 2017,"population": 891},
        {"year": 2018,"population": 900}
      ]
    },
            {
      "name": "annotation",
      "values": [
                {"start": 1815,"end": 1871,"text": "Königreich Preußen"},
                {"start": 1871,"end": 1918,"text": "Dt. Kaiserreich"},
                {"start": 1918,"end": 1933,"text": "Weimarer Republik"},
        {"start": 1933,"end": 1945,"text": "3. Reich"},
        {"start": 1948,"end": 1989,"text": "Deutsche Teilung"}
      ]
    }
  ],
  "scales": [
    {
      "name": "x",
      "type": "linear",
      "range": "width",
      "zero": false,
      "domain": {"data": "table","field": "year"}
    },
    {
      "name": "y",
      "type": "linear",
      "range": "height",
      "nice": true,
      "domain": {"data": "table","field": "population"}
    },
    {
      "name": "color",
      "type": "ordinal",
      "domain": {"data": "annotation","field": "text"},
      "range": ["blue","yellow","green","black","red"]
    }
  ],
  "axes": [
    {
      "type": "x",
      "scale": "x",
      "format": "d",
      "title": "Jahr",
      "ticks": 15
    },
    {
      "type": "y",
      "scale": "y",
      "title": "Einwohnerzahl",
      "grid": true,
      "layer": "back"
    }
  ],
  "marks": [
    {
      "type": "rect",
      "from": {"data": "annotation"},
      "properties": {
        "enter": {
          "x": {"scale": "x","field": "start"},
          "y": {"value": 0},
          "x2": {"scale": "x","field": "end"},
          "y2": {"signal": "height"},
          "fill": {"scale": "color","field": "text"},
          "opacity": {"value": 0.2}
        }
      }
    },
    {
      "type": "line",
      "from": {"data": "table"},
      "properties": {
        "enter": {
          "interpolate": {"value": "monotone"},
          "x": {"scale": "x","field": "year"},
          "y": {"scale": "y","field": "population"},
          "stroke": {"value": "steelblue"},
          "strokeWidth": {"value": 3}
        }
      }
    },
    {
      "type": "symbol",
      "from": {"data": "table"},
      "properties": {
        "enter": {
          "x": {"scale": "x","field": "year"},
          "y": {"scale": "y","field": "population"},
          "stroke": {"value": "steelblue"},
          "fill": {"value": "white"},
          "size": {"value": 30}
        }
      }
    },
    {
      "type": "text",
      "from": {
        "data": "table",
        "transform": [
          {
            "type": "aggregate",
            "summarize": {"year": ["min","max"]}
          }
        ]
      },
      "properties": {
        "enter": {
          "x": {"signal": "width","mult": 0.5},
          "y": {"value": -10},
          "text": {
            "template": "Bevölkerungsentwicklung von \u007b{datum.min_year}\u007d bis \u007b{datum.max_year}\u007d"
          },
          "fill": {"value": "black"},
          "fontSize": {"value": 16},
          "align": {"value": "center"},
          "fontWeight": {"value": "bold"}
        }
      }
    }
  ],
  "legends": [
    {
      "fill": "color",
      "title": "Legende",
      "properties": {
        "symbols": {
          "strokeWidth": {"value": 0},
          "shape": {"value": "square"},
          "opacity": {"value": 0.3}
        },
        "legend": {
          "x": {"value": 10},
          "y": {"value": 130},
          "fill": {"value": "white"}
        }
      }
    }
  ]
}
</graph>
Entwicklung der Einwohnerzahl (Stichtag: 31. Dezember; nur Hauptwohnungen):
Entwicklung der Einwohnerzahl (Stichtag: 31. Dezember; nur Hauptwohnungen):
{| border="1" cellpadding="2" cellspacing="0"
{| border="1" cellpadding="2" cellspacing="0"