Using d3-carto-map with an Albers USA projection.
Using d3-carto-map with queue.js for both topojson and CSV layers.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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. |
The very basics of making a plot using ggplot2 in R.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<body> | |
<script src="script.js"></script> | |
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> |