Skip to content

Instantly share code, notes, and snippets.

View cfergus's full-sized avatar

Colin Fergus cfergus

  • East Coast, USA
View GitHub Profile
@cfergus
cfergus / index.html
Created October 25, 2012 23:10
Randomly generated sankey data. To show 'lane based' cycle rendering.
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="http://d3js.org/d3.v2.js"></script>
<script type="text/javascript" src="./sankey.js"></script>
<title>Sankey Diagram</title>
<style>
@cfergus
cfergus / index.html
Created October 19, 2012 22:11
An example to demonstrate cycles rendering in D3 sankey
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="http://d3js.org/d3.v2.js"></script>
<script type="text/javascript" src="https://raw.github.com/cfergus/d3-plugins/master/sankey/sankey.js"></script>
<title>Sankey Diagram</title>
<style>