Aktionen

Benutzer

Felix Englisch: Unterschied zwischen den Versionen

Aus Lünepedia

 
(7 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 89: Zeile 89:
</graph>
</graph>
Wahl zum Stadtrat der Hansestadt Lüneburg 2021 (Wahlbeteiligung 56,2 %)</div>
Wahl zum Stadtrat der Hansestadt Lüneburg 2021 (Wahlbeteiligung 56,2 %)</div>
== noch eins ==
<graph>{
  "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
  "description": "A simple pie chart with labels.",
  "data": {
    "values": [
      {"category": "a", "value": 4},
      {"category": "b", "value": 6},
      {"category": "c", "value": 10},
      {"category": "d", "value": 3},
      {"category": "e", "value": 7},
      {"category": "f", "value": 8}
    ]
  },
  "encoding": {
    "theta": {"field": "value", "type": "quantitative", "stack": true},
    "color": {"field": "category", "type": "nominal", "legend": null}
  },
  "layer": [{
    "mark": {"type": "arc", "outerRadius": 80}
  }, {
    "mark": {"type": "text", "radius": 90},
    "encoding": {
      "text": {"field": "category", "type": "nominal"}
    }
  }]
}
</graph>


== Zweites Diagramm ==
== Zweites Diagramm ==
Zeile 188: Zeile 218:


== Weiteres Diagramm ==
== Weiteres Diagramm ==
<graph>{
"version": 2,
"width": 400,
"height": 200,
"data": [
{
"name": "table",
"values": [
{
"x": 0,
"y": 1
},
{
"x": 1,
"y": 3
},
{
"x": 2,
"y": 4
},
{
"x": 3,
"y": 24
},
{
"x": 4,
"y": 21
},
{
"x": 5,
"y": 22
}
]
}
],
"scales": [
{
"name": "x",
"type": "linear",
"range": "width",
"zero": false,
"domain": {
"data": "table",
"field": "x"
}
},
{
"name": "y",
"type": "linear",
"range": "height",
"nice": true,
"domain": {
"data": "table",
"field": "y"
}
}
],
"axes": [
{
"type": "x",
"scale": "x"
},
{
"type": "y",
"scale": "y"
}
],
"marks": [
{
"type": "line",
"from": {
"data": "table"
},
"properties": {
"enter": {
"x": {
"scale": "x",
"field": "x"
},
"y": {
"scale": "y",
"field": "y"
},
"y2": {
"scale": "y",
"value": 0
},
"interpolate": {
"value": "monotone"
},
"stroke": {
"value": "steelblue"
},
"strokeWidth": {
"value": 3
}
}
}
}
]
}</graph>
== Testgelände ==
<graph>{
"version": 2,
"width": 400,
"height": 200,
"data": [
{
"name": "table",
"values": [
{
"x": 0,
"y": 1
},
{
"x": 1,
"y": 3
},
{
"x": 2,
"y": 2
},
{
"x": 3,
"y": 4
}
]
}
],
"scales": [
{
"name": "x",
"type": "linear",
"range": "width",
"zero": false,
"domain": {
"data": "table",
"field": "x"
}
},
{
"name": "y",
"type": "linear",
"range": "height",
"nice": true,
"domain": {
"data": "table",
"field": "y"
}
}
],
"axes": [
{
"type": "x",
"scale": "x"
},
{
"type": "y",
"scale": "y"
}
],
"marks": [
{
"type": "area",
"from": {
"data": "table"
},
"properties": {
"enter": {
"x": {
"scale": "x",
"field": "x"
},
"y": {
"scale": "y",
"field": "y"
},
"y2": {
"scale": "y",
"value": 0
},
"fill": {
"value": "steelblue"
},
"interpolate": {
"value": "monotone"
}
}
}
}
]
}</graph>
== Tortendiagramm ==
<graph>


<graph mode=interactive>
{
{
    "version": 1,
  "version": 2,
     "width": 500,
  "width": 100,
     "height": 200,
  "height": 100,
     "padding": {
  "data": [
         "top": 10,
     {
        "left": 30,
      "name": "table",
         "bottom": 30,
      "values": [12,23,47,6,52,19],
         "right": 10
      "transform": [{"type": "pie","field": "data"}]
    }
  ],
  "scales": [
     {
      "name": "r",
      "type": "sqrt",
      "domain": {"data": "table","field": "data"},
      "range": [100,100]
     }
  ],
  "marks": [
    {
      "type": "arc",
      "from": {"data": "table"},
      "properties": {
         "enter": {
          "x": {"field": {"group": "width"},"mult": 0.5},
          "y": {"field": {"group": "height"},"mult": 0.5},
          "startAngle": {"field": "layout_start"},
          "endAngle": {"field": "layout_end"},
          "innerRadius": {"value": 20},
          "outerRadius": {"scale": "r","field": "data"},
          "stroke": {"value": "#fff"}
        },
         "update": {"fill": {"value": "#ccc"} },
         "hover": {"fill": {"value": "pink"} }
      }
     },
     },
     "data": [
     {
        {
      "type": "text",
            "name": "table",
      "from": {"data": "table"},
            "values": [
      "properties": {
                {
        "enter": {
                    "x": 0,
          "x": {"field": {"group": "width"},"mult": 0.5},
                    "y": 28,
          "y": {"field": {"group": "height"},"mult": 0.5},
                    "c": 0
          "radius": {"scale": "r","field": "data","offset": 8},
                },
          "theta": {"field": "layout_mid"},
                {
          "fill": {"value": "#000"},
                    "x": 0,
          "align": {"value": "center"},
                    "y": 55,
          "baseline": {"value": "middle"},
                    "c": 1
          "text": {"field": "data"}
                },
                {
                    "x": 1,
                    "y": 43,
                    "c": 0
                },
                {
                    "x": 1,
                    "y": 91,
                    "c": 1
                },
                {
                    "x": 2,
                    "y": 81,
                    "c": 0
                },
                {
                    "x": 2,
                    "y": 53,
                    "c": 1
                },
                {
                    "x": 3,
                    "y": 19,
                    "c": 0
                },
                {
                    "x": 3,
                    "y": 87,
                    "c": 1
                },
                {
                    "x": 4,
                    "y": 52,
                    "c": 0
                },
                {
                    "x": 4,
                    "y": 48,
                    "c": 1
                },
                {
                    "x": 5,
                    "y": 24,
                    "c": 0
                },
                {
                    "x": 5,
                    "y": 49,
                    "c": 1
                },
                {
                    "x": 6,
                    "y": 87,
                    "c": 0
                },
                {
                    "x": 6,
                    "y": 66,
                    "c": 1
                },
                {
                    "x": 7,
                    "y": 17,
                    "c": 0
                },
                {
                    "x": 7,
                    "y": 27,
                    "c": 1
                },
                {
                    "x": 8,
                    "y": 68,
                    "c": 0
                },
                {
                    "x": 8,
                    "y": 16,
                    "c": 1
                },
                {
                    "x": 9,
                    "y": 49,
                    "c": 0
                },
                {
                    "x": 9,
                    "y": 15,
                    "c": 1
                }
            ]
        },
        {
            "name": "stats",
            "source": "table",
            "transform": [
                {
                    "type": "facet",
                    "keys": [
                        "data.x"
                    ]
                },
                {
                    "type": "stats",
                    "value": "data.y"
                }
            ]
         }
         }
    ],
      }
    "scales": [
     }
        {
  ]
            "name": "x",
            "type": "linear",
            "range": "width",
            "zero": false,
            "domain": {
                "data": "table",
                "field": "data.x"
            }
        },
        {
            "name": "y",
            "type": "linear",
            "range": "height",
            "nice": true,
            "domain": {
                "data": "stats",
                "field": "sum"
            }
        },
        {
            "name": "color",
            "type": "ordinal",
            "range": "category10"
        }
    ],
    "axes": [
        {
            "type": "x",
            "scale": "x"
        },
        {
            "type": "y",
            "scale": "y"
        }
    ],
     "marks": [
        {
            "type": "group",
            "from": {
                "data": "table",
                "transform": [
                    {
                        "type": "facet",
                        "keys": [
                            "data.c"
                        ]
                    },
                    {
                        "type": "stack",
                        "point": "data.x",
                        "height": "data.y"
                    }
                ]
            },
            "marks": [
                {
                    "type": "area",
                    "properties": {
                        "enter": {
                            "interpolate": {
                                "value": "monotone"
                            },
                            "x": {
                                "scale": "x",
                                "field": "data.x"
                            },
                            "y": {
                                "scale": "y",
                                "field": "y"
                            },
                            "y2": {
                                "scale": "y",
                                "field": "y2"
                            },
                            "fill": {
                                "scale": "color",
                                "field": "data.c"
                            }
                        },
                        "update": {
                            "fillOpacity": {
                                "value": 1
                            }
                        },
                        "hover": {
                            "fillOpacity": {
                                "value": 0.5
                            }
                        }
                    }
                }
            ]
        }
    ]
}
}
</graph>
</graph>
== Testgelände ==

Aktuelle Version vom 29. November 2021, 23:59 Uhr

Willkommen auf meiner Benutzer*innenseite. Ich bin Felix, der dieses Stadtwiki von technischer Seite her konfiguriert hat. Gemeinsam mit Benutzer:Klarambolage und Benutzer:Mira haben wir Lünepedia initiiert und sind sehr gespannt, wie es sich entwickelt.

Kurz über mich: Ich studiere an der Leuphana einen Mix aus Nachhaltigkeitswissenschaften, Ökonomik und Politikwissenschaften im Rahmen des Studium Individuale. Inzwischen bin ich bereits im 6. Semester meines Bachelor-Studiums, aber habe nicht vor, Lüneburg danach einfach zu verlassen. Den Großteil meiner Zeit stecke ich in die Initiative Lebendiges Lüneburg und bin auch anderweitig politisch und klimaaktivistisch aktiv.

Spielplatz[Bearbeiten | Quelltext bearbeiten]

Überschrift

Wahl zum Stadtrat der Hansestadt Lüneburg 2021 (Wahlbeteiligung 56,2 %)

noch eins[Bearbeiten | Quelltext bearbeiten]

Zweites Diagramm[Bearbeiten | Quelltext bearbeiten]

Weiteres Diagramm[Bearbeiten | Quelltext bearbeiten]

Testgelände[Bearbeiten | Quelltext bearbeiten]

Tortendiagramm[Bearbeiten | Quelltext bearbeiten]

Cookies helfen uns bei der Bereitstellung von Lünepedia. Durch die Nutzung von Lünepedia erklärst du dich damit einverstanden, dass wir Cookies speichern.