-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
326 lines (321 loc) · 14.5 KB
/
index.html
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
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge;chrome=1" />
<title>D3.js - Data-Driven Documents</title>
<link href="src/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
<link id="prettify-link" href="src/prettify/prettify.css" rel="stylesheet" disabled="true" />
<link href="styles/presentation.css" rel="stylesheet" type="text/css" media="screen" />
<link href="styles/common.css" rel="stylesheet" type="text/css" media="screen" />
<link class="theme" href="styles/default.css" rel="stylesheet" type="text/css" media="screen" />
<style>
html {
overflow: auto;
}
</style>
</head>
<body>
<div style="display: none;">
<span id="left-init-key" class="key">→</span>
</div>
<div id="flex-container">
<div class="slides">
<div id="presentation-counter">Loading...</div>
<div class="slide" id="landing-slide">
<section class="middle">
<hgroup>
<h1>D3.js
</h1>
<h2>Data-Driven Documents
</h2>
</hgroup>
<p>Why/What/How:数据可视化、D3.js、例子、API、优缺点</p>
</section>
</div>
<div class="slide" id="table-of-contents">
<header>
<h1>今天要讲的:</h1>
</header>
<section>
<ul id="toc-list">
</ul>
</section>
</div>
<div class="slide transitionSlide" id="datav-title">
<section class="middle">
<h2>Why D3.js / 数据可视化</h2>
<p>数据可视化主要旨在借助于图形化手段,清晰有效地传达与沟通信息。</p>
<img src="images/d3js_64.png" />
</section>
</div>
<div class="slide" id="datav-weather">
<header>
<span class="js">数据可视化</span>
<h1>天气趋势(MIUI)</h1>
</header>
<section>
<div class="center" style="margin-top: 50px;">
<img src="images/datav/weather.png" />
</div>
</section>
</div>
<div class="slide" id="datav-pm25">
<header>
<span class="js">数据可视化</span>
<h1>空气质量(MIUI)</h1>
</header>
<section>
<div class="center" style="margin-top: 25px;">
<img src="images/datav/pm2.5.png" />
</div>
</section>
</div>
<div class="slide" id="datav-sd">
<header>
<span class="js">数据可视化</span>
<h1>SD卡容量(MIUI)</h1>
</header>
<section>
<div class="center" style="margin-top: 50px;">
<img src="images/datav/sd.png" />
</div>
</section>
</div>
<div class="slide" id="datav-yuebao">
<header>
<span class="js">数据可视化</span>
<h1>余额保收益率(支付宝)</h1>
</header>
<section>
<div class="center" style="margin-top: 50px;">
<img src="images/datav/yuebao.png" />
</div>
</section>
</div>
<div class="slide" id="datav-zhangdan">
<header>
<span class="js">数据可视化</span>
<h1>月帐单(支付宝)</h1>
</header>
<section>
<div class="center">
<img src="images/datav/zhangdan.png" style="height: 550px;" />
</div>
</section>
</div>
<div class="slide" id="datav-webstatistics">
<header>
<span class="js">数据可视化</span>
<h1>站点监控/统计</h1>
</header>
<section>
<div class="center">
<img src="images/datav/webstatistics.png" style="height: 570px;" />
</div>
</section>
</div>
<!--
<div class="slide" id="datav-svn">
<header>
<span class="js">数据可视化</span>
<h1>SVN提交统计(TortoiseSVN)</h1>
</header>
<section>
<div class="center" style="margin-top: 50px;">
<img id="datav_svn_image" data-no="0" src="images/datav/zhangdan.png" />
<div style="display: inline-block;">
<i class="fa fa-chevron-circle-left fa-3x" onclick="datav_svn_prev()"></i>
<br />
<i class="fa fa-chevron-circle-right fa-3x" onclick="datav_svn_next()"></i>
</div>
</div>
</section>
<script defer>
var datav_svn_images = [
'images/datav/zhangdan.png',
'images/datav/pm2.5.png',
'images/datav/sd.png',
'images/datav/weather.png',
'images/datav/yuebao.png'
];
function datav_svn_next() {
var data_no = (parseInt($('#datav_svn_image').attr('data-no')) + 1) % datav_svn_images.length;
$('#datav_svn_image').attr('src', datav_svn_images[data_no]).attr('data-no', data_no);
}
function datav_svn_prev() {
var data_no = (parseInt($('#datav_svn_image').attr('data-no')) + datav_svn_images.length - 1) % datav_svn_images.length;
$('#datav_svn_image').attr('src', datav_svn_images[data_no]).attr('data-no', data_no);
}
</script>
</div>
-->
<div class="slide" id="datav-reports">
<header>
<span class="js">数据可视化</span>
<h1>其他各种</h1>
</header>
<section>
<div>
<ul style="font-size: 26px;">
<li>各种统计报告:<a href="http://huaban.com/pins/63469185/">http://huaban.com/pins/63469185/</a></li>
<li>K图:<a href="http://k.btc123.com/markets/btcchina/btccny">http://k.btc123.com/markets/btcchina/btccny</a></li>
<li>百度统计流量研究院:<a href="http://tongji.baidu.com/data/">http://tongji.baidu.com/data/</a></li>
<li>搜狐图表新闻:<a href="http://news.sohu.com/graphics/">http://news.sohu.com/graphics/</a></li>
<li>网易数读:<a href="http://data.163.com/">http://data.163.com/</a></li>
<li>新浪彩票走势图:<a href="http://zst.sina.aicai.com/">http://zst.sina.aicai.com/</a></li>
</ul>
</div>
</section>
</div>
<div class="slide" id="datav-d3js-gallery">
<header>
<span class="js">数据可视化</span>
<h1><a href="https://github.com/mbostock/d3/wiki/Gallery" style="border-bottom: inherit;"
onclick="$('#datav-d3js-iframe').attr('src','gally.html');return false;">D3.js Gallery</a></h1>
</header>
<section style="margin-left: 5px; margin-right: 5px;">
<iframe id="datav-d3js-iframe" src="" class="center" style="height: 550px; width: 100%; border: none; overflow-y: scroll; overflow-x: hidden; text-align: center;"></iframe>
</section>
</div>
<div class="slide transitionSlide" id="chartools-title">
<section class="middle">
<h2>Why D3.js / Web图表工具优缺点对比</h2>
<p>灵活性,先进性,适应性,,文档,社区,授权许可。。。</p>
<img src="images/d3js_64.png" />
</section>
</div>
<div class="slide" id="Div13">
<header>
<span class="js">Web图表工具优缺点对比</span>
<h1>开源许可证</h1>
</header>
<section>
<ul style="font-size: 26px; margin: 0;">
<li>D3.js许可证:<a href="https://github.com/mbostock/d3/blob/master/LICENSE">Michael Bostock许可</a>/BSD许可</li>
</ul>
<div class="center">
<a href="http://www.ruanyifeng.com/blog/2011/05/how_to_choose_free_software_licenses.html" style="border-bottom: inherit;">
<img src="images/how_to_choose_free_software_licenses.png" />
</a>
</div>
</section>
</div>
<div class="slide transitionSlide" id="Div10">
<section class="middle">
<h2>What D3.js / 简介</h2>
<p>Data-Driven Documents</p>
<img src="images/d3js_64.png" />
</section>
</div>
<div class="slide transitionSlide" id="Div11">
<section class="middle">
<h2>What D3.js / 包括什么</h2>
<p>Examples、Documentation、Source!</p>
<img src="images/d3js_64.png" />
</section>
</div>
<div class="slide transitionSlide" id="Div12">
<section class="middle">
<h2>What D3.js / 可用&不可用</h2>
<p>没有什么是万能的,关于D3的兼容性、动画</p>
<img src="images/d3js_64.png" />
</section>
</div>
<div class="slide transitionSlide" id="Div9">
<section class="middle">
<h2>How D3.js / 基本使用方法</h2>
<p></p>
<img src="images/d3js_64.png" />
</section>
</div>
<div class="slide" id="Div1">
<header>
<span class="js">基本使用方法</span>
<h1>下载、使用</h1>
</header>
<section>
<ul style="font-size: 26px; margin: 0;">
<li>下载地址:<a href="https://github.com/mbostock/d3/releases/">D3.js Releases</a></li>
<li>CDN:<a href="https://cdnjs.com/libraries/d3/">https://cdnjs.com/libraries/d3/</a></li>
<li>使用:
<pre style="font-size: initial;">
<script src="<b>http://d3js.org/d3.v3.min.js</b>" charset="utf-8"></script>
<script src="<b>http://cdnjs.cloudflare.com/ajax/libs/d3/3.4.6/d3.min.js</b>" charset="utf-8"></script>
<script src="<b>/js/d3.v3.min.js</b>" charset="utf-8"></script>
</pre>
</li>
</ul>
</section>
</div>
<div class="slide" id="Div14">
<header>
<span class="js">数据可视化</span>
<h1>站点监控/统计</h1>
</header>
<section>
<div class="center">
<img src="images/datav/webstatistics.png" style="height: 570px;" />
</div>
</section>
</div>
<div class="slide" id="Div15">
<header>
<span class="js">数据可视化</span>
<h1>站点监控/统计</h1>
</header>
<section>
<div class="center">
<img src="images/datav/webstatistics.png" style="height: 570px;" />
</div>
</section>
</div>
<div class="slide" id="Div16">
<header>
<span class="js">数据可视化</span>
<h1>站点监控/统计</h1>
</header>
<section>
<div class="center">
<img src="images/datav/webstatistics.png" style="height: 570px;" />
</div>
</section>
</div>
<div class="slide" id="Div17">
<header>
<span class="js">数据可视化</span>
<h1>站点监控/统计</h1>
</header>
<section>
<div class="center">
<img src="images/datav/webstatistics.png" style="height: 570px;" />
</div>
</section>
</div>
<div class="slide" id="Div2"></div>
<div class="slide" id="Div3"></div>
<div class="slide" id="Div4"></div>
<div class="slide" id="Div5"></div>
<div class="slide" id="Div6"></div>
<div class="slide" id="Div7"></div>
<div class="slide" id="Div8"></div>
</div>
</div>
<script src="js/jquery-2.1.0.min.js"></script>
<script src="src/prettify/prettify.js" onload="prettyPrint();" defer></script>
<script src="js/utils.js"></script>
<script>
// Check if new appcache is available, load it, and reload page.
if (window.applicationCache) {
window.applicationCache.addEventListener('updateready', function (e) {
if (window.applicationCache.status == window.applicationCache.UPDATEREADY) {
window.applicationCache.swapCache();
if (confirm('A new version of this site is available. Load it?')) {
window.location.reload();
}
}
}, false);
}
</script>
</body>
</html>