Skip to content

Instantly share code, notes, and snippets.

date,institute,source,sample,feldzeit,oevp,spoe,fpoe,neos,pilz,gruene,bzoe,stronach,others
04.01.2006,IMAS,Standard/ORF,2000,,39,42,6,,,11,2,,0
11.01.2006,Gallup,Standard/News,400,,38,41,6,,,12,2,,2
23.01.2006,OGM,Profil,499,,38,42,6,,,10,3,,1
18.02.2006,GFK,Krone,,,39,41,7,,,11,3,,0
20.02.2006,OGM,Profil,501,,37,41,8,,,10,3,,2
09.03.2006,Gallup,News,400,,38,43,6,,,12,1,,0
13.03.2006,OGM,Profil,500,,37,41,8,,,11,3,,0
29.03.2006,Gallup,News,,,38,35,7,,,10,2,,15
03.04.2006,OGM,Profil,504,,39,39,8,,,11,3,,0
@ginseng666
ginseng666 / daten.txt
Created October 4, 2017 14:02
offene Wahlen: Entwicklung Auszählungsgrad
time azg wahlberechtigte gueltig spoe oevp fpoe bzoe gruene
ref 1 6333109 4887309 1430206 1269656 857029 522933 509936
p0 0 6333109 4887309 1430206 1269656 857029 522933 509936
p1 0.37 6384308 3519053 1099176 970401 823408 143297 482771
p2 0.49 6384308 3662012 1185615 976461 842846 144180 512910
p3 0.64 6384308 3833025 1196191 1022354 924666 159606 530208
p4 0.77 6384308 4095197 1258605 1125876 962313 165746 582657
@ginseng666
ginseng666 / daten_2013in2017.txt
Created September 30, 2017 16:33
offene wahlen: darstellung urbanisierung
gkz name wahlberechtigte abgegeben gueltig spoe oevp fpoe bzoe gruene frank neos kpoe pirat cpoe wandl m euaus slp winner
G10101 Eisenstadt 10407 7378 7229 1699 2421 1084 155 888 419 434 47 54 28 0 0 0 0 oevp
G10201 Rust 1554 1167 1146 454 254 237 17 69 73 34 3 3 2 0 0 0 0 spoe
G10301 Breitenbrunn am Neusiedler See 1586 1187 1164 455 254 171 35 113 64 50 9 9 4 0 0 0 0 spoe
G10302 Donnerskirchen 1458 1108 1089 332 384 172 23 75 63 30 3 5 2 0 0 0 0 oevp
G10303 Großhöflein 1655 1229 1202 379 347 192 42 95 94 46 4 3 0 0 0 0 0 spoe
G10304 Hornstein 2217 1576 1538 616 291 278 47 123 104 60 9 8 2 0 0 0 0 spoe
G10305 Klingenbach 909 704 695 354 164 92 11 20 38 9 4 1 2 0 0 0 0 spoe
G10306 Leithaprodersdorf 974 808 785 180 368 106 9 53 36 25 6 0 2 0 0 0 0 oevp
G10307 Mörbisch am See 1869 1432 1406 550 302 302 22 79 87 41 9 8 6 0 0 0 0 spoe
@ginseng666
ginseng666 / daten_2013in2017.txt
Created September 30, 2017 16:33
offene wahlen: darstellung länder
gkz name wahlberechtigte abgegeben gueltig spoe oevp fpoe bzoe gruene frank neos kpoe pirat cpoe wandl m euaus slp winner
G10101 Eisenstadt 10407 7378 7229 1699 2421 1084 155 888 419 434 47 54 28 0 0 0 0 oevp
G10201 Rust 1554 1167 1146 454 254 237 17 69 73 34 3 3 2 0 0 0 0 spoe
G10301 Breitenbrunn am Neusiedler See 1586 1187 1164 455 254 171 35 113 64 50 9 9 4 0 0 0 0 spoe
G10302 Donnerskirchen 1458 1108 1089 332 384 172 23 75 63 30 3 5 2 0 0 0 0 oevp
G10303 Großhöflein 1655 1229 1202 379 347 192 42 95 94 46 4 3 0 0 0 0 0 spoe
G10304 Hornstein 2217 1576 1538 616 291 278 47 123 104 60 9 8 2 0 0 0 0 spoe
G10305 Klingenbach 909 704 695 354 164 92 11 20 38 9 4 1 2 0 0 0 0 spoe
G10306 Leithaprodersdorf 974 808 785 180 368 106 9 53 36 25 6 0 2 0 0 0 0 oevp
G10307 Mörbisch am See 1869 1432 1406 550 302 302 22 79 87 41 9 8 6 0 0 0 0 spoe
@ginseng666
ginseng666 / aut_2017.json
Created August 30, 2017 08:51
Templates Offene Wahlen - responsive bar chart, line chart, svg map, canvas map
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ginseng666
ginseng666 / gemeindeergebnisse.csv
Last active October 23, 2016 08:28
Tutorial Ergebnis-Landkarte
GKZ Gebietsname Wahlberechtigte abgegeben ungueltig gueltig Griss Hofer Hundstorfer Khol Lugner Van der Bellen
G00000 Österreich 6382507 4371825 92655 4279170 810641 1499971 482790 475767 96783 913218
G00099 Wahlkarten - Österreich 0 543129 8355 534774 117323 136832 64349 57203 9025 150042
G10000 Burgenland 232028 180207 4354 175853 21870 73676 30802 22910 3317 23278
G10099 Wahlkarten - Burgenland 0 15590 234 15356 2267 5021 2761 2302 185 2820
G10100 Eisenstadt(Stadt) 10567 8002 125 7877 1369 2763 703 1271 103 1668
G10101 Eisenstadt 10567 7088 118 6970 1192 2522 615 1091 92 1458
G10199 Wahlkarten - Eisenstadt(Stadt) 0 914 7 907 177 241 88 180 11 210
G10200 Rust(Stadt) 1545 1286 35 1251 147 516 251 141 20 176
G10201 Rust 1545 1110 33 1077 122 463 218 122 15 137
@ginseng666
ginseng666 / index.html
Last active October 22, 2016 07:43
Tutorial Balkendiagramm
<!DOCTYPE html>
<head>
<title>ein Balkendiagramm</title>
<meta charset="utf-8">
<script src="https://d3js.org/d3.v4.min.js"></script>
</head>
<body>
<script>
var ergebnis = [
@ginseng666
ginseng666 / hexbin.min.js
Last active October 14, 2015 19:05
voting districts hexagonal
!function(){d3.hexbin=function(){function u(n){var r={};return n.forEach(function(n,t){var a=s.call(u,n,t)/o,e=Math.round(a),c=h.call(u,n,t)/i-(1&e?.5:0),f=Math.round(c),l=a-e;if(3*Math.abs(l)>1){var v=c-f,g=f+(f>c?-1:1)/2,m=e+(e>a?-1:1),M=c-g,d=a-m;v*v+l*l>M*M+d*d&&(f=g+(1&e?1:-1)/2,e=m)}var j=f+"-"+e,p=r[j];p?p.push(n):(p=r[j]=[n],p.i=f,p.j=e,p.x=(f+(1&e?.5:0))*i,p.y=e*o)}),d3.values(r)}function a(r){var t=0,u=0;return n.map(function(n){var a=Math.sin(n)*r,e=-Math.cos(n)*r,i=a-t,o=e-u;return t=a,u=e,[i,o]})}var e,i,o,c=1,f=1,h=r,s=t;return u.x=function(n){return arguments.length?(h=n,u):h},u.y=function(n){return arguments.length?(s=n,u):s},u.hexagon=function(n){return arguments.length<1&&(n=e),"m"+a(n).join("l")+"z"},u.centers=function(){for(var n=[],r=0,t=!1,u=0;f+e>r;r+=o,t=!t,++u)for(var a=t?i/2:0,h=0;c+i/2>a;a+=i,++h){var s=[a,r];s.i=h,s.j=u,n.push(s)}return n},u.mesh=function(){var n=a(e).slice(0,4).join("l");return u.centers().map(function(r){return"M"+r+"m"+n}).join("")},u.size=function(n){return arg
@ginseng666
ginseng666 / index.html
Last active October 14, 2015 18:52
voting districts encoded as same-sized rectangles
<!DOCTYPE html>
<head>
<title>displaying voting districts</title>
<meta charset="utf-8">
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/topojson/1.6.19/topojson.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/queue-async/1.0.7/queue.min.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
@ginseng666
ginseng666 / gemeinden.json
Last active September 18, 2015 06:45
Gemeindegrenzen Österreich, Stand September 2015 / map borders of Austrian municipalities, September 2015 (geojson/topojson, utf8)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.