Skip to content

Instantly share code, notes, and snippets.

@allardw
allardw / README.md
Last active June 28, 2016 14:08
Voroni & Chromatic Scale

Creates a d3-voronoi diagram for a couple of random coordinates. The color of the polygons is defined by a continuous color scheme based on ColorBrewer using d3-scale-chromatic.

Example in D3 v4.0

@allardw
allardw / README.md
Last active June 14, 2016 12:12
Dutch weather coffee cup

This animation shows a representation of montly mean temperatures from 1906-2016 in the Netherlands.

Inspiration for this datavizualization came from the climate spiral by Ed Hawkins and the Measuring Cup by Mitchell Whitelaw

Data source: KNMI

@allardw
allardw / data.json
Last active June 9, 2016 13:14
Custom path generator
{
"indicators": [
{
"indicator": "Q1_1",
"desc": "Public transport"
},
{
"indicator": "Q1_11",
"desc": "No complaints about noise level"
},
@allardw
allardw / index.html
Last active December 29, 2015 12:40
'Mickey Mouseover' menu
<!DOCTYPE html>
<meta charset="utf-8">
<style>
circle {
stroke:white;
}
circle.node {
fill:lightgrey;
}
circle.rood {