Skip to content

Instantly share code, notes, and snippets.

@N0taN3rd
N0taN3rd / README.md
Created February 9, 2016 21:31
fresh block
@N0taN3rd
N0taN3rd / README.md
Created February 9, 2016 21:34
fresh block
@N0taN3rd
N0taN3rd / README.md
Created February 9, 2016 21:34
fresh block
@N0taN3rd
N0taN3rd / README.md
Last active February 12, 2016 01:53
Visualization Implementation (VI3)

View on bl.ocks.org

John Berlin

  1. Transitions can be hard
  2. Domains are tricky
  3. Plotting data is easy with d3
@N0taN3rd
N0taN3rd / CountriesHostedByYear.png
Last active February 16, 2016 03:23
Visualization Implementation (VI4)
CountriesHostedByYear.png
@N0taN3rd
N0taN3rd / README.md
Last active February 24, 2016 02:02
Visualization Implementation (VI5)

John Berlin CS725

Visualization Implementation (VI5)

Rule of Thumb

I choose to implement the rule of thumb: No Unjustified 3D: Occlusion Hides Information

I used R to achieve this as I have been working a lot in it. The plot that breaks the rule of thumb is seen here bad3dfinal

@N0taN3rd
N0taN3rd / README.md
Last active March 16, 2016 01:40
Visualization Implementation (VI7)

John Berlin CS725 Information Visualization

Visualization Implementation (VI7)

View on blocks

Matrix View

In constructing the matrix view I borrowed heavily from the Les Miserables example seen here.

The default ordering is set to be by name and will change its self periodically to be ordered by frequency and then back again.

@N0taN3rd
N0taN3rd / unscinote.R
Created September 22, 2016 23:16
un-scinote in r
it <- read.csv('reachNums.csv')
reach <- sort(it[,c('reach')])
f2si2<-function (number, rounding=F, sep=" ")
{
lut <- c(1e-24, 1e-21, 1e-18, 1e-15, 1e-12, 1e-09, 1e-06,
0.001, 1, 1000, 1e+06, 1e+09, 1e+12, 1e+15, 1e+18, 1e+21,
1e+24)
pre <- c("y", "z", "a", "f", "p", "n", "u", "m", "", "k",
"M", "G", "T", "P", "E", "Z", "Y")
@N0taN3rd
N0taN3rd / heritrix.warc
Created October 28, 2016 11:06
October 28, 2016
WARC/1.0
WARC-Type: warcinfo
WARC-Date: 2016-08-15T21:19:20Z
WARC-Filename: WAIL-20160815211920610-00000-20339~misanthropy~8443.warc
WARC-Record-ID: <urn:uuid:c8935f63-6a09-4743-892b-03dbc5a0357b>
Content-Type: application/warc-fields
Content-Length: 423
software: Heritrix/3.3.0-SNAPSHOT-20160708-0038 http://crawler.archive.org
ip: 127.0.1.1
This file has been truncated, but you can view the full file.
{
"https://twitter.com/WebSciDL": {
"winfo": {
"request": {
"id": 18,
"method": "GET",
"referrer": "",
"requestHeaders": {
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
"Accept-Encoding": "gzip, deflate",