This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Here is a sample of heatmap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require! <[request iconv-lite]> | |
# return [menu-id, mms:ivod-id, title in asx] | |
# can be used to rebuild menu-id <-> ivod-id <-> title relationship | |
ivod-id-dynamic = -> | |
(e,r,b) <- request {url: "http://ivod.ly.gov.tw/vod/ch#it.asx", encoding: null}, _ | |
b = iconv-lite.decode b, \big5 | |
v = /mms:\/\/.+?\/ch(\d+)"/g.exec b | |
u = /Title>(.+?) .+?<\//g.exec b | |
console.log v.1, u.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
font-family: optima; } | |
iframe { | |
border: none; } | |
.ib { | |
display: inline-block; | |
text-align: center; | |
border: 1px solid #cccccc; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clkao 88 | |
clkaoud 40 | |
ETBlue 32 | |
tkirby 24 | |
ipa 19 | |
clkao_ 18 | |
yhsiang 14 | |
hcchien 13 | |
kiang 13 | |
au 13 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script type="text/javascript" src="//d3js.org/d3.v3.min.js"></script> | |
</head> | |
<body> | |
<svg id="svg" width="100%" height="100%" viewBox="0 0 800 800" preserveAspectRatio="xMidYMid"> | |
</svg> | |
<script type="text/javascript"> | |
var svg = d3.select("svg"); | |
var data = [100,300,200]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
當選者 | |
宜蘭縣 1952 | |
新竹市 1952 | |
苗栗縣 1952 | |
彰化縣 1953 | |
新竹縣 1953 | |
嘉義市 1954 | |
嘉義縣 1954 | |
基隆市 1954 | |
屏東縣 1954 |