Skip to content

Instantly share code, notes, and snippets.

@bewest
bewest / index.html
Created August 19, 2011 17:30 — forked from mbostock/.block
Polymaps + D3
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="https://github.com/mbostock/d3/raw/v1.8.4/d3.js"></script>
<script type="text/javascript" src="https://github.com/simplegeo/polymaps/raw/v2.4.0/polymaps.js"></script>
<style type="text/css">
@import url("http://github.com/simplegeo/polymaps/raw/v2.4.0/examples/example.css");
html, body {
Explore panning and zooming over time series using d3.
@bewest
bewest / index.html
Created August 20, 2011 21:51 — forked from hperantunes/index.html
hexagons map
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Hexagons Test</title>
<script type="text/javascript" src="http://hperantunes01.appspot.com/static/js/d3/d3.min.js"></script>
<script type="text/javascript" src="http://hperantunes01.appspot.com/static/js/d3/d3.behavior.min.js"></script>
<style type="text/css">
svg {
border: solid 1px #aaa;
@bewest
bewest / index.html
Created August 24, 2011 21:23 — forked from mbostock/.block
Axis Component
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js?2.0.0"></script>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.csv.js?2.0.0"></script>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.time.js?2.0.0"></script>
<style type="text/css">
body {
font: 10px sans-serif;
@bewest
bewest / index.html
Created September 2, 2011 02:30 — forked from stepheneb/index.html
D3 Example: spline, zoom and pan
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Spline + Pan</title>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js"></script>
<style type="text/css">
body {
font: 13px sans-serif;
}
@bewest
bewest / README.markdown
Last active October 25, 2019 10:35
Using pyCLI to create some commands and subcommands.

Hello world python subcommand pattern

Using pyCLI vs commando to create some commands and subcommands.

https://gist.github.com/1202975.git

git clone git@gist.github.com:1202975.git python-hello-subcommand

How to write a well behaved console application? The ones with the best UIs allow configuration of core commands in a

@bewest
bewest / README
Created September 17, 2011 18:49
d3 sunrise sunset
sunrise sunset stuff in d3
@bewest
bewest / README
Created November 14, 2011 05:25
stephen demjanenko
Playing around with D3 with Stephen Demjanenko.
@bewest
bewest / README
Created November 19, 2011 19:03
cli-hello
Using pyCLI to create some commands and subcommands.
@bewest
bewest / index.html
Created January 6, 2012 17:19 — forked from mbostock/.block
d3.geo.tiler
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="https://github.com/mbostock/d3/raw/v1.8.4/d3.js"></script>
<script type="text/javascript" src="https://github.com/mbostock/d3/raw/v1.8.4/d3.geo.js"></script>
<script type="text/javascript" src="https://github.com/simplegeo/polymaps/raw/v2.4.0/polymaps.js"></script>
<script type="text/javascript" src="tiler.js"></script>
<style type="text/css">
@import url("http://github.com/simplegeo/polymaps/raw/v2.4.0/examples/example.css");