-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgraph.html
More file actions
executable file
·222 lines (190 loc) · 10.5 KB
/
graph.html
File metadata and controls
executable file
·222 lines (190 loc) · 10.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
<html>
<head>
<meta charset="utf-8">
<style type="text/css">
body {
margin: 0;
}
.axis path,
.axis line {
fill: none;
stroke: #000;
shape-rendering: crispEdges;
}
.axis text {
font: 10px sans-serif;
}
.diff circle {
opacity: 0.5;
}
.y.axis path {
/*display: none;*/
}
.y.axis line {
/*stroke: #777;*/
}
.y-zero.axis text {
}
svg {
clear: both;
float: left;
}
.group {
fill: none;
stroke: #bbb;
vector-effect: non-scaling-stroke;
}
.unclicked {
fill-opacity: 0.25;
}
</style>
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?key=AIzaSyCAEt2HQo7hv78IwtbhNFG69_0k_FeI_sA&sensor=true"></script>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/d3/3.3.3/d3.min.js"></script>
<link href="styles/main.css?v=7" rel="stylesheet">
<meta content="Карта УИКов, отмеченных разным цветом. Цвет зависимости от того, какой результат был у Сергея Собянина, и были ли на участке наблюдатели." name="description">
<meta content="Карта подозрительных УИКов" name="title">
<meta content="sobyanin2procenta.info" property="og:url">
<meta content="Карта подозрительных УИКов" property="og:title">
<meta content="Карта УИКов, отмеченных разным цветом. Цвет зависит от того, какой результат был у Сергея Собянина, и были ли на участке наблюдатели." property="og:description">
<meta content="http://sobyanin2procenta.info/images/image-moscow.png" property="og:image">
<meta content="Карта подозрительных УИКов" property="og:site_name">
<title>Карта подозрительных УИКов</title>
</head>
<body>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-43286953-3', 'sobyanin2procenta.info');
ga('send', 'pageview');
</script>
<!-- <div class="b-legend">
<h4 class="b-legend__header">График подозрительных УИКов</h4>
<p>
Цвет точки показывает подозрительность участка: сколько было наблюдателей или проголосоваших на дому.
Размер кружка зависит от % голосов за С. Собянина.
</p>
<p><b>Цвет точек:</b></p>
<div style="text-align: center">
<table border="0" class="legend">
<tr>
<td></td>
<td class="square"><div style="background-color:rgb(211,56,0);"></div></td>
<td class="square"><div style="background-color:rgb(232,204,0);"></div></td>
<td class="square"><div style="background-color:rgb(234,239,0);"></div></td>
<td class="square"><div style="background-color:rgb(109,193,55);"></div></td>
</tr>
<tr class="j-line j-observers current">
<td class="info first">
<a href="#" onclick="setPalette('observers'); return false;">Кол-во наблюдателей</a>
</td>
<td class="info">0</td>
<td class="info">1</td>
<td class="info">2</td>
<td class="info">3+</td>
</tr>
<tr class="j-line j-outdoor">
<td class="info first">
<a href="#" onclick="setPalette('outdoor'); return false;">Голосующих на дому</a>
</td>
<td class="info">> 20%</td>
<td class="info">> 10%</td>
<td class="info">> 5%</td>
<td class="info"><= 5%</td>
</tr>
</table>
</div>
<div>
<br>
<p>Размер точки зависит от кол-ва процентов, набранных С. Собяниным</p>
</div>
<b>Например:</b>
<table class="b-legend__examples">
<tr>
<td class="b-legend__example-image"><img src="images/example-red.png" alt=""></td>
<td class="b-legend__example-description">
100% голосов за С. Собянина без наблюдателей
</td>
</tr>
<tr>
<td class="b-legend__example-image"><img src="images/example-green.png" alt=""></td>
<td class="b-legend__example-description">
48,3% голосов за С. Собянина. Наблюдателей: 4
</td>
</tr>
</table>
<div class="b-legend__download-block">
<a href="https://dl.dropboxusercontent.com/u/210432/uik_results_moscow_mayor_election_2013.xlsx" target="_blank">
Исходные данные
</a>
</div>
<div class="b-legend__social-block">
<script type="text/javascript">(function() {
if (window.pluso)if (typeof window.pluso.start == "function") return;
if (window.ifpluso==undefined) { window.ifpluso = 1;
var d = document, s = d.createElement('script'), g = 'getElementsByTagName';
s.type = 'text/javascript'; s.charset='UTF-8'; s.async = true;
s.src = ('https:' == window.location.protocol ? 'https' : 'http') + '://share.pluso.ru/pluso-like.js';
var h=d[g]('body')[0];
h.appendChild(s);
}})();</script>
<div class="pluso" data-background="none;"
data-options="small,square,line,horizontal,counter,sepcounter=1,theme=14"
data-services="vkontakte,odnoklassniki,facebook,twitter"
data-url="http://sobyanin2procenta.info" data-title="Карта подозрительных УИКов"
data-description="Карта УИКов, отмеченных разным цветом. Цвет зависимости от того, какой результат был у Сергея Собянина, и были ли на участке наблюдатели.">
</div>
</div>
</div>
<div class="b-legend-mobile j-legend-mobile">
<div class="b-legend-mobile__header">
Карта результатов голосования за Сергея Собянина <a class="j-close-legend" href="#" title="Закрыть легенду">×</a>
</div>
<div class="b-legend-mobile__content">
<p><b>Цвет точек:</b></p>
<div style="text-align: center">
<table border="0" class="legend">
<tr>
<td></td>
<td class="square"><div style="background-color:rgb(211,56,0);"></div></td>
<td class="square"><div style="background-color:rgb(232,204,0);"></div></td>
<td class="square"><div style="background-color:rgb(234,239,0);"></div></td>
<td class="square"><div style="background-color:rgb(109,193,55);"></div></td>
</tr>
<tr>
<td class="info">Кол-во наблюдателей →</td>
<td class="info">0</td>
<td class="info">1</td>
<td class="info">2</td>
<td class="info">3+</td>
</tr>
</table>
</div>
<div>
<br>
<p>Размер точки зависит от кол-ва процентов, набранных С. Собяниным</p>
</div>
<b>Примеры:</b>
<table class="b-legend__examples">
<tr>
<td class="b-legend__example-image"><img src="images/example-red.png" alt=""></td>
<td class="b-legend__example-description">
100% голосов за С. Собянина без наблюдателей
</td>
</tr>
<tr>
<td class="b-legend__example-image"><img src="images/example-green.png" alt=""></td>
<td class="b-legend__example-description">
48,3% голосов за С. Собянина. Наблюдателей: 4
</td>
</tr>
</table>
</div>
</div> -->
<script src="scripts/graph.js?v=71" type="text/javascript"></script>
</body>
</html>