Vorlage:FSR-Frauenanteil-Graph: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
K (syntax error) |
Keine Bearbeitungszusammenfassung |
||
(10 dazwischenliegende Versionen von 9 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
<graph> | <graph> | ||
{ | { | ||
"width": 700, "height": 200, | "version": 2, "width": 700, "height": 200, | ||
"padding": {"top": 10, "left": 30, "bottom": 50, "right": 30}, | "padding": {"top": 10, "left": 30, "bottom": 50, "right": 30}, | ||
"data": [ | "data": [ | ||
Zeile 30: | Zeile 30: | ||
{"x": "SoSe 2014", "y": 25}, | {"x": "SoSe 2014", "y": 25}, | ||
{"x": "WiSe 2014", "y": 14.3}, | {"x": "WiSe 2014", "y": 14.3}, | ||
{"x": "SoSe 2015", "y": 11.11} | {"x": "SoSe 2015", "y": 11.11}, | ||
{"x": "WiSe 2015", "y": 20}, | |||
{"x": "SoSe 2016", "y": 28.57}, | |||
{"x": "WiSe 2016", "y": 7.14}, | |||
{"x": "SoSe 2017", "y": 0}, | |||
{"x": "WiSe 2018", "y": 18.18}, | |||
{"x": "SoSe 2018", "y": 25}, | |||
{"x": "WiSe 2018/19", "y": 33}, | |||
{"x": "WiSe 2018/19 II", "y": 25}, | |||
{"x": "SoSe 2019", "y": 33}, | |||
] | ] | ||
} | } | ||
Zeile 39: | Zeile 48: | ||
"type": "ordinal", | "type": "ordinal", | ||
"range": "width", | "range": "width", | ||
"domain": {"data": "table", "field": " | "domain": {"data": "table", "field": "x"} | ||
}, | }, | ||
{ | { | ||
Zeile 45: | Zeile 54: | ||
"range": "height", | "range": "height", | ||
"nice": true, | "nice": true, | ||
"domain": {"data": "table", "field": " | "domain": {"data": "table", "field": "y"} | ||
} | } | ||
], | ], | ||
Zeile 90: | Zeile 99: | ||
"properties": { | "properties": { | ||
"enter": { | "enter": { | ||
"x": {"scale": "x", "field": " | "x": {"scale": "x", "field": "x"}, | ||
"width": {"scale": "x", "band": true, "offset": -1}, | "width": {"scale": "x", "band": true, "offset": -1}, | ||
"y": {"scale": "y", "field": " | "y": {"scale": "y", "field": "y"}, | ||
"y2": {"scale": "y", "value": 0} | "y2": {"scale": "y", "value": 0} | ||
}, | }, |