Skip to content

Instantly share code, notes, and snippets.

@vuski
vuski / index.html
Last active May 17, 2017 06:19
Increase and Decrease of Retailers in Chungcheongnam-do from 2006 to 2014
<!DOCTYPE html>
<html>
<head>
<title>Increase and Decrease of Retailers in Seoul from 2006 to 2014</title>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
<script type="text/javascript" src="http://d3js.org/d3.v4.min.js"></script>
<script type="text/javascript" src="valueDifference_matrix.js"></script>
@vuski
vuski / data.csv
Last active March 1, 2020 07:51
2017 South Korean Presidential Election - Gu/Gun-specific map
We can make this file beautiful and searchable if this error is corrected: It looks like row 4 should actually have 37 columns, instead of 13. in line 3.
code,p17the,p17hong,p17kuk,p17yoo,p17jung,p17valid,r17the,r17hong,r17kuk,r17yoo,r17jung,win17r,winner17,wingap17,sec17r,sec17,third17r,third17,forth17r,forth17,last17r,last17,r17han,p16the,p16han,p16kuk,p16jung,p16valid,r16the,r16han,r16kuk,r16jung,d_the,d_han,d_kuk,d_jung
11010,35619,20043,19435,6173,5739,87460,0.407260462,0.229167619,0.22221587,0.070580837,0.065618568,0.407260462,1,0.178092842,0.229167619,2,0.22221587,3,0.070580837,4,0.065618568,5,0.299748456,21413,25103,19597,6713,78519,0.292513399,0.342920836,0.267705837,0.091703285,0.114747063,-0.043172379,-0.045489967,-0.026084717
11020,28521,16107,17042,5022,4117,71144,0.40089115,0.226399978,0.239542337,0.070589227,0.057868548,0.40089115,1,0.161348814,0.239542337,3,0.226399978,2,0.070589227,4,0.057868548,5,0.296989205,12168,19293,19641,4204,59606,0.21897631,0.347198385,0.353461021,0.075655523,0.18191484,-0.05020918,-0.113918685,-0.017786975
11030,48639,31508,27910,10134,7985,126692,0.383915322,0.248697629,0.220298046,0.079989265,0.063026868,0.38391532
@vuski
vuski / data.csv
Last active March 1, 2020 07:57
2017 South Korean Presidential Election - Dong-specific map
We can't make this file beautiful and searchable because it's too large.
code,p17hong,p17yoo,p17the,p17han,p17kuk,p17jung,p17valid,p16the,p16han,p16kuk,p16jung,p16valid,r17han,r17the,r17hong,r17kuk,r17yoo,r17jung,r16the,r16han,r16kuk,r16jung,d_the,d_han,d_kuk,d_jung,win17r,winner17,wingap17,sec17r,sec17,third17r,third17,forth17r,forth17,last17r,last17
1101053,1617,455,2146,2072,1161,366,5770,1180,1983,1291,468,5284,0.359098787,0.371923744,0.280242634,0.201213172,0.078856153,0.063431542,0.238701209,0.401139404,0.261155305,0.094671327,0.133222535,-0.042040617,-0.059942134,-0.031239784,0.371923744,1,0.091681109,0.280242634,2,0.201213172,3,0.078856153,4,0.063431542,5
1101054,456,113,617,569,316,131,1650,337,577,327,152,1518,0.344848485,0.373939394,0.276363636,0.191515152,0.068484848,0.079393939,0.239431356,0.409946268,0.232326568,0.107992778,0.134508038,-0.065097783,-0.040811416,-0.028598838,0.373939394,1,0.097575758,0.276363636,2,0.191515152,3,0.079393939,5,0.068484848,4
1101055,1502,429,2354,1931,1139,441,5904,1365,1851,1166,604,5396,0.327066396,0.398712737,0.254403794,0.192920054,
@vuski
vuski / data_2017.csv
Last active March 1, 2020 07:52
Financial Disclosure of High Ranking Official in 2017 - generation-specific property
name thePerson spouse mo1 fa1 mo2 fa2 gmo1 gfa1 s1 d1 s2 d2 s3 d3 s4 d4 d5 gs1 gs2 gs3 gs4 gd1 gd2 gd3 gd4 gd5
-|대통령|박근혜 3738208 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
대통령비서실|외교안보수석비서관|김규현 725952 220060 0 0 0 0 0 0 0 99583 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
대통령비서실|경제수석비서관|강석훈 1315759 151212 89179 0 0 0 0 0 51946 54708 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
대통령비서실|미래전략수석비서관|현대원 220047 639719 0 0 0 0 0 0 100 0 100 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
대통령비서실|교육문화수석비서관|김용승 186249 510833 7766 0 0 0 0 0 19758 67105 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
대통령비서실|고용복지수석비서관|김현숙 924530 1329841 60449 93478 0 0 0 0 42846 0 37424 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
대통령비서실|인사수석비서관|정진철 720493 1110414 422441 0 0 0 0 0 236786 0 77431 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
대통령비서실|연설기록비서관|최진웅 -99729 90393 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
대통령비서실|기획비서관|최재영 1661027 422778 0 0 0 0 0 0 0 41889 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
@vuski
vuski / boundary.json
Last active May 15, 2017 15:47
Financial Disclosure of High Ranking Official in 2017 - building properties
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vuski
vuski / background.png
Last active March 1, 2020 07:52
Financial Disclosure of High Ranking Official in 2017 - Sum of Properties
background.png
@vuski
vuski / index.html
Last active May 15, 2017 15:40
Increase and Decrease of Retailers in Geojesi from 2006 to 2014
<!DOCTYPE html>
<html>
<head>
<title>Increase and Decrease of Retailers in Seoul from 2006 to 2014</title>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
<script type="text/javascript" src="http://d3js.org/d3.v4.min.js"></script>
<script type="text/javascript" src="valueDifference_matrix.js"></script>
@vuski
vuski / index.html
Last active May 15, 2017 15:42
Passing Distribution KOR : UZB 15 NOV 2016 second half
<!DOCTYPE html>
<meta charset="utf-8">
<html>
<head>
<style>
body {
margin: 0px;
}
@vuski
vuski / index.html
Last active May 15, 2017 15:45
Passing Distribution KOR : UZB 15 NOV 2016 first half
<!DOCTYPE html>
<meta charset="utf-8">
<html>
<head>
<style>
body {
margin: 0px;
}
@vuski
vuski / index.html
Last active October 21, 2016 12:40
Increase and Decrease of Retailers in Seoul from 2006 to 2014
<!DOCTYPE html>
<html>
<head>
<title>Increase and Decrease of Retailers in Seoul from 2006 to 2014</title>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
<script type="text/javascript" src="http://d3js.org/d3.v4.min.js"></script>
<script type="text/javascript" src="valueDifference_matrix.js"></script>