Skip to content

Instantly share code, notes, and snippets.

@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 {
@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 / 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 / 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 September 15, 2016 10:33
Globe for Google Cardboard - experiment
@allardw
allardw / index.html
Last active November 5, 2016 10:40
Gauge
<!DOCTYPE html>
<html lang="en">
<head>
<script src="https://d3js.org/d3.v4.min.js">
</script>
<script src="https://d3js.org/d3-color.v0.5.min.js">
</script>
<script src="https://d3js.org/d3-interpolate.v0.9.min.js">
</script>
@allardw
allardw / index.html
Last active October 12, 2017 15:26
Randomly distributed regions
<!DOCTYPE html>
<meta charset="utf-8">
<style>
path {
fill: steelblue;
opacity: 0.9;
}
circle {
display: none;
fill: steelblue;
@allardw
allardw / Windenergie_op_land__241116094832.tsv
Last active June 8, 2019 05:16
Wind energy production per province in the Netherlands 1990 - 2016
Regio jaar MW
Groningen 1990 1
Groningen 1991 2
Groningen 1992 2
Groningen 1993 14
Groningen 1994 15
Groningen 1995 52
Groningen 1996 54
Groningen 1997 54
Groningen 1998 55