Skip to content

Instantly share code, notes, and snippets.

View threestory's full-sized avatar

Erik Jacobsen threestory

View GitHub Profile
@threestory
threestory / ACS_1YR_S1201_with_ann.csv
Created March 20, 2015 05:41
Marital Status of U.S. Population 2005-2013 by Gender
Year Total; Estimate; Population 15 years and over Total; Margin of Error; Population 15 years and over Now married (except separated); Estimate; Population 15 years and over Now married (except separated); Margin of Error; Population 15 years and over Widowed; Estimate; Population 15 years and over Widowed; Margin of Error; Population 15 years and over Divorced; Estimate; Population 15 years and over Divorced; Margin of Error; Population 15 years and over Separated; Estimate; Population 15 years and over Separated; Margin of Error; Population 15 years and over Never married; Estimate; Population 15 years and over Never married; Margin of Error; Population 15 years and over Total; Estimate; AGE AND SEX - Males 15 years and over Total; Margin of Error; AGE AND SEX - Males 15 years and over Now married (except separated); Estimate; AGE AND SEX - Males 15 years and over Now married (except separated); Margin of Error; AGE AND SEX - Males 15 years and over Widowed; Estimate; AGE AND SEX - Males 15 years and over
@threestory
threestory / index.html
Last active August 29, 2015 14:17
Suicide Rates by State, Year and Age Group
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Erik's example: Loading CSV Data with D3</title>
<style type="text/css">
body {
background-color: #b4bad6;
}
svg {
@threestory
threestory / index.html
Last active August 29, 2015 14:18
2013 U.S. Suicide Deaths for 15-24 year-olds
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>U.S. Suicide Deaths</title>
<script type="text/javascript" src="http://d3js.org/d3.v3.js"></script>
<style type="text/css">
body {
background-color: #808080;
@threestory
threestory / index.html
Created April 8, 2015 04:42
2013 U.S. Suicide Deaths for 15-24 year-olds *with Scales*
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>U.S. Suicide Deaths</title>
<script type="text/javascript" src="http://d3js.org/d3.v3.js"></script>
<style type="text/css">
body {
background-color: #808080;
@threestory
threestory / index.html
Last active August 29, 2015 14:19
2013 Suicide deaths - two age groups with transition
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>U.S. Suicide Deaths</title>
<script type="text/javascript" src="http://d3js.org/d3.v3.js"></script>
<style type="text/css">
body {
background-color: #808080;
@threestory
threestory / index.html
Created April 22, 2015 18:09
Suicides by State, 2013 - Scatterplot Racial Comparison
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>U.S. Youth Suicide Deaths by Race, 2013 </title>
<script type="text/javascript" src="http://d3js.org/d3.v3.js"></script>
<style type="text/css">
body {
background-color: #808080;
@threestory
threestory / index.html
Last active August 29, 2015 14:19
U.S. Suicides by State for 15-24 year-olds, Time Series with highlights
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>U.S. Suicide Rates for 15-24-year-olds by U.S. State, 1999-2013</title>
<script type="text/javascript" src="http://d3js.org/d3.v3.js"></script>
<script type="text/javascript" src="http://use.typekit.com/brf5jpj.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
@threestory
threestory / index.html
Last active August 29, 2015 14:20
U.S. Youth Suicides - lines and bars
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>U.S. Suicide Rates for 15-24-year-olds by U.S. State, 1999-2013</title>
<script type="text/javascript" src="http://d3js.org/d3.v3.js"></script>
<script type="text/javascript" src="http://use.typekit.com/brf5jpj.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
@threestory
threestory / index.html
Created October 31, 2015 00:59
Twitterfluence Scatterplot
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Twitterfluence</title>
<script type="text/javascript" src="//d3js.org/d3.v3.min.js"></script>
<script type="text/javascript" src="http://use.typekit.com/brf5jpj.js"></script>
<script src="//use.typekit.net/drk2sev.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
@threestory
threestory / index.html
Last active November 1, 2015 00:02
Twitterfluence Scatter: Log Scale
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Twitterfluence</title>
<script type="text/javascript" src="//d3js.org/d3.v3.min.js"></script>
<script type="text/javascript" src="http://use.typekit.com/brf5jpj.js"></script>
<script src="//use.typekit.net/drk2sev.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>