Skip to content

Instantly share code, notes, and snippets.

Elijah Meeks emeeks

View GitHub Profile
@emeeks
emeeks / cosit.gexf
Last active Aug 29, 2015
GEXF D3 Complex Example
View cosit.gexf
<?xml version="1.0" encoding="UTF-8"?>
<gexf xmlns="http://www.gexf.net/1.2draft" version="1.2" xmlns:viz="http://www.gexf.net/1.2draft/viz" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.gexf.net/1.2draft http://www.gexf.net/1.2draft/gexf.xsd">
<meta lastmodifieddate="2014-03-04">
<creator>Gephi 0.8.1</creator>
<description></description>
</meta>
<graph defaultedgetype="directed" mode="static">
<attributes class="node" mode="static">
<attribute id="startyr" title="startyr" type="integer"></attribute>
<attribute id="title" title="title" type="string"></attribute>
@emeeks
emeeks / edgelist.csv
Last active Aug 29, 2015
Arc Diagram
View edgelist.csv
source target weight
sam tully 3
sam pat 8
sam kim 2
sam pris 1
roy pris 5
roy sam 1
tully sam 1
tully pris 5
tully kim 3
@emeeks
emeeks / edgelist.csv
Last active Aug 29, 2015
Arc Diagram with Directed Edges
View edgelist.csv
sam tully 3
sam pat 8
sam kim 2
sam pris 1
roy pris 5
roy sam 1
tully sam 1
tully pris 5
tully kim 3
@emeeks
emeeks / index.html
Last active Aug 29, 2015
Handcrafting TopoJSON
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<body onload="vorToTopo()">
<svg style="height:1000px;width:1000px;"c height="1000" width="1000">
</svg>
<script src="http://d3js.org/d3.v3.min.js"></script>
<script src="http://d3js.org/topojson.v1.min.js"></script>
<script src="vorpoly.js"></script>
<script>
@emeeks
emeeks / index.html
Last active Aug 29, 2015
Topojson Import into Force-Directed
View index.html
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>topojson import into force directed network</title>
<meta charset="utf-8" />
</head>
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script src="http://d3js.org/topojson.v1.min.js"></script>
<style>
</style>
@emeeks
emeeks / index.html
Last active Aug 29, 2015
Merge Countries Based on Centroid
View index.html
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Satellite Projection Explorer</title>
<meta charset="utf-8" />
</head>
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script src="http://d3js.org/d3.geo.projection.v0.min.js"></script>
<script src="http://d3js.org/colorbrewer.v1.min.js"></script>
<script src="http://d3js.org/topojson.v1.min.js"></script>
<style>
@emeeks
emeeks / index.html
Last active Aug 29, 2015
D3 Tile Map with Hand-Drawn Polygon
View index.html
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>D3 in Action Examples</title>
<meta charset="utf-8" />
</head>
<script src="http://d3js.org/d3.v3.min.js" type="text/javascript">
</script>
<script src="http://d3js.org/d3.geo.projection.v0.min.js" type="text/javascript">
</script>
<script src="tile.js" type="text/javascript">
@emeeks
emeeks / index.html
Last active Aug 29, 2015
Sortable Spreadsheet
View index.html
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>D3 in Action Sortable Spreadhseet Example</title>
<meta charset="utf-8" />
</head>
<script src="http://d3js.org/d3.v3.min.js" type="text/javascript">
</script>
<style>
div.data {
@emeeks
emeeks / index.html
Last active Aug 29, 2015
Dynamic Image Gallery
View index.html
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>D3 in Action Gallery Example 1</title>
<meta charset="utf-8" />
</head>
<script src="http://d3js.org/d3.v3.min.js" type="text/javascript"></script>
<script src="http://d3js.org/colorbrewer.v1.min.js"></script>
<style>
#gallery {
@emeeks
emeeks / index.html
Last active Aug 29, 2015
Dynamic Image Gallery with Zoom To Select Element
View index.html
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>D3 in Action Gallery Example 2</title>
<meta charset="utf-8" />
</head>
<script src="http://d3js.org/d3.v3.min.js" type="text/javascript"></script>
<script src="http://d3js.org/colorbrewer.v1.min.js"></script>
<style>
You can’t perform that action at this time.