Skip to content

Instantly share code, notes, and snippets.

@ThomasThoren
ThomasThoren / README.md
Last active December 3, 2015 13:31
Orleans Parish precincts

Orleans Parish precincts colored based on which gubernatorial candidate won in the 2015 general election. Includes simple hover styles.

@ThomasThoren
ThomasThoren / README.md
Last active December 3, 2015 20:55
Map labels

Practice with map locations and labels.

@ThomasThoren
ThomasThoren / Makefile
Last active February 24, 2016 00:05
FiveThirtyEight NFL map reproduction
.PHONY: all
.SECONDARY:
# Download .zip files
zip/tl_2015_us_county.zip:
@mkdir -p $(dir $@)
@curl -sS -o $@.download 'ftp://ftp2.census.gov/geo/tiger/TIGER2015/COUNTY/tl_2015_us_county.zip'
@mv $@.download $@
@ThomasThoren
ThomasThoren / .block
Last active February 24, 2016 02:37
Basic column chart
height: 450
@ThomasThoren
ThomasThoren / .block
Last active February 24, 2016 02:38
Salaries visualization I
height: 550
@ThomasThoren
ThomasThoren / README.md
Created April 5, 2016 01:12
FiveThirtyEight text animation
@ThomasThoren
ThomasThoren / .block
Last active April 12, 2016 14:16
FiveThirtyEight NBA chart
height: 700
border: no
@ThomasThoren
ThomasThoren / fusion-tables.md
Last active May 6, 2016 11:57
Turning your spreadsheets into maps using Google Fusion Tables

This guide will walk you through the process of using Google Fusion Tables to turn a spreadsheet into a map.

Before we begin, make sure you are logged into your Google account. (Note to Lens staff: Our work accounts don't seem to allow Google Fusion Tables, so log in as a separate account for now.)

Read on for a detailed explanation of the steps.

1. Saving your spreadsheet as a CSV file

CSV (comma-separated values) files are the same as Excel files (.xlsx and .xls), for all intents and purposes. You can open either in Excel. The key difference is that CSV files aren't specific to any single program, so they can be used by any program.

@ThomasThoren
ThomasThoren / _README.md
Last active June 17, 2016 21:44
Intro to SQL (IRE 2016)
@ThomasThoren
ThomasThoren / orleans-voting-precincts.geojson
Created October 11, 2016 15:52
Orleans voting precincts
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.