Skip to content

Instantly share code, notes, and snippets.

View johnpoole's full-sized avatar

John Poole johnpoole

View GitHub Profile
@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;
@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.

<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 / 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;
}
@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 / .block
Last active July 19, 2018 01:25 — forked from mbostock/.block
Stacked Radial Area
license: gpl-3.0
@johnpoole
johnpoole / .block
Created September 7, 2018 13:06 — forked from ctufts/.block
Normal Distribution Probability Density Block
license: mit
height: 600
border: no
@johnpoole
johnpoole / .block
Created November 6, 2018 16:14 — forked from mbostock/.block
Scatterplot Matrix Brushing
license: gpl-3.0
border: no
height: 960
@johnpoole
johnpoole / .block
Created February 3, 2019 02:59 — forked from mbostock/.block
Circle Dragging I
license: gpl-3.0
@johnpoole
johnpoole / index.html
Created April 18, 2019 18:45 — forked from bunkat/index.html
Swimlane Chart using d3.js
<!--
The MIT License (MIT)
Copyright (c) 2013 bill@bunkat.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is