Skip to content

Instantly share code, notes, and snippets.

Lincoln Mullen lmullen

Block or report user

Report or block lmullen

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@lmullen
lmullen / README.md
Last active Aug 29, 2015
d3-carto-map with queue.js
View README.md
@lmullen
lmullen / index.html
Created Nov 13, 2014
Interactivity with state
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="http://d3js.org/d3.v3.min.js"></script>
<script src="http://d3js.org/topojson.v1.min.js"></script>
<link rel="stylesheet" type="text/css" href="styles.css">
<title>D3 tutorial</title>
</head>
<body>
@lmullen
lmullen / index.html
Last active Aug 29, 2015
D3 interactivity demo
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="http://d3js.org/d3.v3.min.js"></script>
<script src="http://d3js.org/topojson.v1.min.js"></script>
<link rel="stylesheet" type="text/css" href="styles.css">
<title>D3 tutorial</title>
</head>
<body>
View 01-dom.js
console.log("Hello, Clio 3! Everything is awesome!");
var body = d3.select("body");
var myDiv = body.append("div");
myDiv.append("h1").html("Hello");
body.append("h2").html("DOM manipulation");
@lmullen
lmullen / Makefile
Created Oct 8, 2014
Mapping slavery starter kit
View Makefile
# A Makefile to re-project and simplify shapefiles.
SIMPLIFY_PERCENTAGE := 2.5
REPROJECTION_CODE := EPSG:4326
SIMPLIFIED := $(patsubst shp/%.shp, shp_out/%.shp, $(wildcard shp/*.shp))
REPROJECTED := $(patsubst shp/%.shp, temp/%.shp, $(wildcard shp/*.shp))
all : $(SIMPLIFIED)
.SECONDARY : $(REPROJECTED)
@lmullen
lmullen / knitr-example.Rmd
Created Sep 24, 2014
Sample Knitr document
View knitr-example.Rmd
---
title: "Sample Knitr Document"
author: "Lincoln Mullen"
date: "September 24, 2014"
output: html_document
---
This is an example of how to use Knitr for doing historical data analysis and writing.
Text that is outside the code block is just ordinary text. You can use it to explain what you're doing or to write an article.
@lmullen
lmullen / README.md
Created Sep 17, 2014
The very basics of making a plot in R
View README.md

The very basics of making a plot using ggplot2 in R.

View index.html
<body>
<script src="script.js"></script>
</body>
View assign-groups.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="http://d3js.org/d3.v3.min.js"></script>
</head>
<body>
<script src="assign-groups.js"></script>
</body>
</html>
@lmullen
lmullen / README.md
Last active Aug 29, 2015
Starter files for using the American Converts Database API
View README.md
You can’t perform that action at this time.