Skip to content

Instantly share code, notes, and snippets.

View johnpoole's full-sized avatar

John Poole johnpoole

View GitHub Profile
@johnpoole
johnpoole / .block
Last active July 19, 2018 01:25 — forked from mbostock/.block
Stacked Radial Area
license: gpl-3.0
@johnpoole
johnpoole / .block
Last active January 12, 2017 01:36 — forked from d3indepth/.block
Radial area generator
license: gpl-3.0
height: 210
border: no
@johnpoole
johnpoole / index.html
Last active September 8, 2015 22:40 — forked from d3noob/.block
Solver Table update bug
<!DOCTYPE html>
<meta charset="utf-8">
<title>SANKEY Experiment</title>
<style>
.node rect {
cursor: move;
fill-opacity: .9;
shape-rendering: crispEdges;
}
<html>
<head>
<title>Simple Line Graph using SVG and d3.js</title>
<script src="http://mbostock.github.com/d3/d3.v2.js"></script>
<style>
/* tell the SVG path to be a thin blue line without any area fill */
path {
stroke: steelblue;
stroke-width: 1;
fill: none;
@johnpoole
johnpoole / README.md
Last active December 10, 2015 13:18 — forked from mbostock/.block

A treemap recursively subdivides area into rectangles; the area of any node in the tree corresponds to its value.

@johnpoole
johnpoole / index.html
Last active December 10, 2015 04:08 — forked from mbostock/.block
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Chord Diagram</title>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js?1.22.1"></script>
<style type="text/css">
body {
font: 10px sans-serif;