Skip to content

Instantly share code, notes, and snippets.

View emeeks's full-sized avatar

Elijah Meeks emeeks

View GitHub Profile
@emeeks
emeeks / .block
Last active February 9, 2023 10:48 — forked from mbostock/.block
Every ColorBrewer Scale
license: gpl-3.0
@emeeks
emeeks / README.md
Last active September 30, 2019 23:10 — forked from mbostock/.block
TopoJSON, geo.tile() and zoom

Using d3.geo.tile to display raster image tiles underneath some TopoJSON vectors, and d3.behavior.zoom for pan & zoom. This version adjusts the transform and stroke-width to update the displayed vector data efficiently. You can instead reproject interactively, but changing the transform is typically much faster.

@emeeks
emeeks / README.md
Last active March 25, 2024 07:56 — forked from mbostock/.block
An online tool for interactive teaching of network visualization and representation principles.

The range sliders at the top change the values for the force-directed algorithm and the buttons load new graphs and apply various techniques. This will hopefully serve as a tool for teaching network analysis and visualization principles during my Gephi courses and general Networks in the Humanities presentations.

Notice this includes a pretty straightforward way to load CSV node and edge lists as exported from Gephi.

It also includes a pathfinding algorithm built for the standard data structure of force-directed networks in D3. This requires the addition of .id attributes for the nodes, however.

Now with Clustering Coefficients!

Also, it loads images for nodes but the images are not in the gist. The code also refers to different network types but the data files on Gist only refer to the transportation network.

@emeeks
emeeks / README.md
Last active December 10, 2015 23:59 — forked from mbostock/.block
Projected Geodata with a Bounding Box Brush

Aitoff projection with a brush that logs the bounding corners in latlong for the brush area.

@emeeks
emeeks / README.md
Last active December 10, 2015 21:48 — forked from syntagmatic/README.md
Yearly Parallel Coordinates
@emeeks
emeeks / index.html
Last active April 27, 2017 09:00 — forked from anonymous/index.html
Parallel Coordinates wired to a map of routes from ORBIS
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Route Probability Exploration with Parallel Coordinates</title>
<style type="text/css">
svg {
font: 10px sans-serif;
}