Skip to content

Instantly share code, notes, and snippets.

Races and the count of cancer patients
@ftan3
ftan3 / cancer.csv
Last active February 17, 2018 00:17
BarChart
We can't make this file beautiful and searchable because it's too large.
Age Adjusted CI Lower,Age Adjusted CI Upper,Age Adjusted Rate,Area,Count,Crude CI Lower,Crude CI Upper,Crude Rate,Event Type,Population,Race,Sex,Year
160.6,170.5,165.5,Alabama,4366,184.8,196.1,190.4,Mortality,2293259,All Races,Female,1999
361.1,376.1,368.6,Alabama,9452,402.2,418.8,410.5,Incidence,2302835,All Races,Female,2000
160.8,170.6,165.7,Alabama,4425,186.5,197.9,192.2,Mortality,2302835,All Races,Female,2000
376.4,391.6,384.0,Alabama,9938,421.9,438.9,430.3,Incidence,2309496,All Races,Female,2001
164.7,174.7,169.7,Alabama,4550,191.3,202.8,197.0,Mortality,2309496,All Races,Female,2001
381.5,396.8,389.1,Alabama,10133,429.3,446.4,437.8,Incidence,2314370,All Races,Female,2002
158.3,168.0,163.1,Alabama,4407,184.8,196.1,190.4,Mortality,2314370,All Races,Female,2002
357.4,372.1,364.7,Alabama,9592,404.5,421.1,412.7,Incidence,2324069,All Races,Female,2003
158.9,168.6,163.7,Alabama,4472,186.8,198.1,192.4,Mortality,2324069,All Races,Female,2003
@ftan3
ftan3 / cancer.csv
Created February 17, 2018 07:06
BarChartWork
We can't make this file beautiful and searchable because it's too large.
Age Adjusted CI Lower,Age Adjusted CI Upper,Age Adjusted Rate,Area,Count,Crude CI Lower,Crude CI Upper,Crude Rate,Event Type,Population,Race,Sex,Year
160.6,170.5,165.5,Alabama,4366,184.8,196.1,190.4,Mortality,2293259,All Races,Female,1999
361.1,376.1,368.6,Alabama,9452,402.2,418.8,410.5,Incidence,2302835,All Races,Female,2000
160.8,170.6,165.7,Alabama,4425,186.5,197.9,192.2,Mortality,2302835,All Races,Female,2000
376.4,391.6,384.0,Alabama,9938,421.9,438.9,430.3,Incidence,2309496,All Races,Female,2001
164.7,174.7,169.7,Alabama,4550,191.3,202.8,197.0,Mortality,2309496,All Races,Female,2001
381.5,396.8,389.1,Alabama,10133,429.3,446.4,437.8,Incidence,2314370,All Races,Female,2002
158.3,168.0,163.1,Alabama,4407,184.8,196.1,190.4,Mortality,2314370,All Races,Female,2002
357.4,372.1,364.7,Alabama,9592,404.5,421.1,412.7,Incidence,2324069,All Races,Female,2003
158.9,168.6,163.7,Alabama,4472,186.8,198.1,192.4,Mortality,2324069,All Races,Female,2003
@ftan3
ftan3 / cancer.csv
Created February 17, 2018 07:39
SPBI
We can't make this file beautiful and searchable because it's too large.
Age Adjusted CI Lower,Age Adjusted CI Upper,Age Adjusted Rate,Area,Count,Crude CI Lower,Crude CI Upper,Crude Rate,Event Type,Population,Race,Sex,Year
160.6,170.5,165.5,Alabama,4366,184.8,196.1,190.4,Mortality,2293259,All Races,Female,1999
361.1,376.1,368.6,Alabama,9452,402.2,418.8,410.5,Incidence,2302835,All Races,Female,2000
160.8,170.6,165.7,Alabama,4425,186.5,197.9,192.2,Mortality,2302835,All Races,Female,2000
376.4,391.6,384.0,Alabama,9938,421.9,438.9,430.3,Incidence,2309496,All Races,Female,2001
164.7,174.7,169.7,Alabama,4550,191.3,202.8,197.0,Mortality,2309496,All Races,Female,2001
381.5,396.8,389.1,Alabama,10133,429.3,446.4,437.8,Incidence,2314370,All Races,Female,2002
158.3,168.0,163.1,Alabama,4407,184.8,196.1,190.4,Mortality,2314370,All Races,Female,2002
357.4,372.1,364.7,Alabama,9592,404.5,421.1,412.7,Incidence,2324069,All Races,Female,2003
158.9,168.6,163.7,Alabama,4472,186.8,198.1,192.4,Mortality,2324069,All Races,Female,2003
@ftan3
ftan3 / cancer.csv
Created February 17, 2018 08:35
Linechart
We can't make this file beautiful and searchable because it's too large.
Age Adjusted CI Lower,Age Adjusted CI Upper,Age Adjusted Rate,Area,Count,Crude CI Lower,Crude CI Upper,Crude Rate,Event Type,Population,Race,Sex,Year
160.6,170.5,165.5,Alabama,4366,184.8,196.1,190.4,Mortality,2293259,All Races,Female,1999
361.1,376.1,368.6,Alabama,9452,402.2,418.8,410.5,Incidence,2302835,All Races,Female,2000
160.8,170.6,165.7,Alabama,4425,186.5,197.9,192.2,Mortality,2302835,All Races,Female,2000
376.4,391.6,384.0,Alabama,9938,421.9,438.9,430.3,Incidence,2309496,All Races,Female,2001
164.7,174.7,169.7,Alabama,4550,191.3,202.8,197.0,Mortality,2309496,All Races,Female,2001
381.5,396.8,389.1,Alabama,10133,429.3,446.4,437.8,Incidence,2314370,All Races,Female,2002
158.3,168.0,163.1,Alabama,4407,184.8,196.1,190.4,Mortality,2314370,All Races,Female,2002
357.4,372.1,364.7,Alabama,9592,404.5,421.1,412.7,Incidence,2324069,All Races,Female,2003
158.9,168.6,163.7,Alabama,4472,186.8,198.1,192.4,Mortality,2324069,All Races,Female,2003
@ftan3
ftan3 / cancer.csv
Created February 17, 2018 11:40
ScatterPlotTRI
We can't make this file beautiful and searchable because it's too large.
Age Adjusted CI Lower,Age Adjusted CI Upper,Age Adjusted Rate,Area,Count,Crude CI Lower,Crude CI Upper,Crude Rate,Event Type,Population,Race,Sex,Year
160.6,170.5,165.5,Alabama,4366,184.8,196.1,190.4,Mortality,2293259,All Races,Female,1999
361.1,376.1,368.6,Alabama,9452,402.2,418.8,410.5,Incidence,2302835,All Races,Female,2000
160.8,170.6,165.7,Alabama,4425,186.5,197.9,192.2,Mortality,2302835,All Races,Female,2000
376.4,391.6,384.0,Alabama,9938,421.9,438.9,430.3,Incidence,2309496,All Races,Female,2001
164.7,174.7,169.7,Alabama,4550,191.3,202.8,197.0,Mortality,2309496,All Races,Female,2001
381.5,396.8,389.1,Alabama,10133,429.3,446.4,437.8,Incidence,2314370,All Races,Female,2002
158.3,168.0,163.1,Alabama,4407,184.8,196.1,190.4,Mortality,2314370,All Races,Female,2002
357.4,372.1,364.7,Alabama,9592,404.5,421.1,412.7,Incidence,2324069,All Races,Female,2003
158.9,168.6,163.7,Alabama,4472,186.8,198.1,192.4,Mortality,2324069,All Races,Female,2003
@ftan3
ftan3 / cancer.csv
Created February 17, 2018 13:28
Trellis plots
We can't make this file beautiful and searchable because it's too large.
Age Adjusted CI Lower,Age Adjusted CI Upper,Age Adjusted Rate,Area,Count,Crude CI Lower,Crude CI Upper,Crude Rate,Event Type,Population,Race,Sex,Year
160.6,170.5,165.5,Alabama,4366,184.8,196.1,190.4,Mortality,2293259,All Races,Female,1999
361.1,376.1,368.6,Alabama,9452,402.2,418.8,410.5,Incidence,2302835,All Races,Female,2000
160.8,170.6,165.7,Alabama,4425,186.5,197.9,192.2,Mortality,2302835,All Races,Female,2000
376.4,391.6,384.0,Alabama,9938,421.9,438.9,430.3,Incidence,2309496,All Races,Female,2001
164.7,174.7,169.7,Alabama,4550,191.3,202.8,197.0,Mortality,2309496,All Races,Female,2001
381.5,396.8,389.1,Alabama,10133,429.3,446.4,437.8,Incidence,2314370,All Races,Female,2002
158.3,168.0,163.1,Alabama,4407,184.8,196.1,190.4,Mortality,2314370,All Races,Female,2002
357.4,372.1,364.7,Alabama,9592,404.5,421.1,412.7,Incidence,2324069,All Races,Female,2003
158.9,168.6,163.7,Alabama,4472,186.8,198.1,192.4,Mortality,2324069,All Races,Female,2003
@ftan3
ftan3 / cancer.csv
Created February 17, 2018 13:30
splom
We can't make this file beautiful and searchable because it's too large.
Age Adjusted CI Lower,Age Adjusted CI Upper,Age Adjusted Rate,Area,Count,Crude CI Lower,Crude CI Upper,Crude Rate,Event Type,Population,Race,Sex,Year
160.6,170.5,165.5,Alabama,4366,184.8,196.1,190.4,Mortality,2293259,All Races,Female,1999
361.1,376.1,368.6,Alabama,9452,402.2,418.8,410.5,Incidence,2302835,All Races,Female,2000
160.8,170.6,165.7,Alabama,4425,186.5,197.9,192.2,Mortality,2302835,All Races,Female,2000
376.4,391.6,384.0,Alabama,9938,421.9,438.9,430.3,Incidence,2309496,All Races,Female,2001
164.7,174.7,169.7,Alabama,4550,191.3,202.8,197.0,Mortality,2309496,All Races,Female,2001
381.5,396.8,389.1,Alabama,10133,429.3,446.4,437.8,Incidence,2314370,All Races,Female,2002
158.3,168.0,163.1,Alabama,4407,184.8,196.1,190.4,Mortality,2314370,All Races,Female,2002
357.4,372.1,364.7,Alabama,9592,404.5,421.1,412.7,Incidence,2324069,All Races,Female,2003
158.9,168.6,163.7,Alabama,4472,186.8,198.1,192.4,Mortality,2324069,All Races,Female,2003
@ftan3
ftan3 / 3980.edges
Created March 3, 2018 03:58
Force-Directed Layout
4038 4014
4032 4027
4019 4026
4023 4003
4018 3997
4023 4031
4021 3998
4013 4004
4023 4030
4027 4032
var table;
function preload() {
table = loadTable('data/3980.edges', 'edges');
}
var width = 1200.0;
var length = 1200.0;
var vMap = new Map();