Skip to content

Instantly share code, notes, and snippets.

{
"tweets": [
{"user": "Al", "content": "I really love seafood.",
"timestamp": " Mon Dec 23 2013 21:30 GMT-0800 (PST)",
"retweets": ["Raj","Pris","Roy"], "favorites": ["Sam"]},
{"user": "Al", "content": "I take that back, this doesn't taste so good.",
"timestamp": "Mon Dec 23 2013 21:55 GMT-0800 (PST)",
"retweets": ["Roy"], "favorites": []},
{"user": "Al",
"content": "From now on, I'm only eating cheese sandwiches.",
@zhonglism
zhonglism / cities.csv
Created August 16, 2016 22:24
cities data
label population country x y
San Francisco 750000 USA 122 -37
Fresno 500000 USA 119 -36
Lahore 12500000 Pakistan 74 31
Karachi 13000000 Pakistan 67 24
Rome 2500000 Italy 12 41
Naples 1000000 Italy 14 40
Rio 12300000 Brazil -43 -22
Sao Paolo 12300000 Brazil -46 -23
@zhonglism
zhonglism / worldcup.csv
Created August 18, 2016 18:19
worldcup
team region win loss draw points gf ga cs yc rc
Netherlands UEFA 6 0 1 18 12 6 2 23 1
Spain UEFA 6 0 1 18 8 2 5 8 0
Germany UEFA 5 0 2 15 16 5 3 10 1
Argentina CONMEBOL 4 0 1 12 10 6 2 8 0
Uruguay CONMEBOL 3 2 2 11 11 8 3 13 2
Brazil CONMEBOL 3 1 1 10 9 4 2 9 2
Ghana CAF 2 2 1 8 5 4 1 12 0
Japan AFC 2 1 1 7 4 2 2 4 0
<!DOCTYPE html>
<html>
<head>
<title>table</title>
<style type="text/css">
#modal{
position:fixed;
left: 150px;
top: 20px;
z-index: 1;
@zhonglism
zhonglism / boxplot.csv
Created August 19, 2016 18:31
boxplot data
day min max median q1 q3 number
1 14 65 33 20 35 22
2 25 73 25 25 30 170
3 15 40 25 17 28 185
4 18 55 33 28 42 135
5 14 66 35 22 45 150
6 22 70 34 28 42 170
7 14 65 33 30 50 28
@zhonglism
zhonglism / tweetdata.csv
Created August 21, 2016 20:12
tweetsOfCSV
day tweets retweets favorites
1 1 2 5
2 6 11 3
3 3 0 1
4 5 2 6
5 10 29 16
6 4 22 10
7 3 14 1
8 5 7 7
9 1 35 22
@zhonglism
zhonglism / movies.csv
Created August 21, 2016 21:23
movies
day movie1 movie2 movie3 movie4 movie5 movie6
1 20 8 3 0 0 0
2 18 5 1 13 0 0
3 14 3 1 10 0 0
4 7 3 0 5 27 15
5 4 3 0 2 20 14
6 3 1 0 0 10 13
7 2 0 0 0 8 12
8 0 0 0 0 6 11
9 0 0 0 0 3 9
@zhonglism
zhonglism / sitestats.json
Created August 23, 2016 19:25
sitestats
{
"nodes":[
{"name":"index"},
{"name":"about"},
{"name":"contact"},
{"name":"store"},
{"name":"cheese"},
{"name":"yoghurt"},
{"name":"milk"}
],
@zhonglism
zhonglism / worddata.csv
Created August 23, 2016 20:28
worddata
text frequency
layout 63
function 61
data 47
return 36
attr 29
chart 28
array 24
style 24
layouts 22
@zhonglism
zhonglism / edgelist.csv
Created August 24, 2016 18:29
edgelist
source target weight
sam pris 1
roy pris 5
roy sam 1
tully pris 5
tully kim 3
tully pat 1
tully mo 3
kim pat 2
kim mo 1