Skip to content

Instantly share code, notes, and snippets.

View kobben's full-sized avatar

Barend Köbben kobben

View GitHub Profile
@kobben
kobben / .block
Last active February 8, 2018 13:41
fresh block
license: mit
@kobben
kobben / .block
Created September 23, 2017 10:46
fresh block
license: mit
@kobben
kobben / index.html
Created January 23, 2014 11:10
Filter test: standard js array.filter() vs d3.filter()
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head>
<!--<script src="../lib/d3.v3.min.js"></script>-->
<script src="http://d3js.org/d3.v3.min.js"></script>
</head>
<body>
<table width="600px">
<tr><td colspan="2">
@kobben
kobben / index.html
Last active January 3, 2016 11:29
Small test of D3 API used to map track data from a geojson.
<!DOCTYPE html>
<html>
<head>
<title>Time &amp; Distance mapped of tracks...</title>
<meta charset="utf-8">
<style>
#theMapSVG {
fill : none;
stroke : gray;
stroke-width : .3pt;
@kobben
kobben / README.md
Last active December 19, 2015 09:19
Map using GeoJSON with cartesian coordinates

Small test of D3 API used to map a geojson with cartesian coordinates (instead of lat-lon's). Uses an override of standard D3 geo projection behaviour: don't perform a full projection and resampling, but only a 1st order translation and scaling to transform real-world XY-coordinates into SVG screen coordinates...