Skip to content

Instantly share code, notes, and snippets.

@syntagmatic
syntagmatic / LICENSE
Last active November 3, 2025 22:42
Zoomable Julia Set
Modified by Kai Chang, Copyright (c) 2012
Copyright (c) 2010 DougX.net
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
furnished to do so, subject to the following conditions:
@syntagmatic
syntagmatic / index.html
Last active October 30, 2025 15:24 — forked from syntagmatic/index.html
Nutrient Parallel Coordinates
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Nutrient Database Explorer</title>
<link rel="stylesheet" type="text/css" href="parallel.css" />
</head>
<body>
<div id="header">
<h1>Nutrient Explorer</h1>
@syntagmatic
syntagmatic / README.md
Last active June 21, 2025 11:28
Comparing Map Projections

A mashup of Map Projection Distortions and transitions using the D3.js extended geographic projections plugin.

A comparison of map projections by four different types of distortion:

  • Acc. 40° 150% – The Acceptance index is a numerical measure that summarizes overall projection distortion, in this case with a maximum angular distortion of 40° and areal distortion of up to 150%.
  • Scale – The weighted mean error for overall scale distortion.
  • Areal – The weighted mean error for areal distortion.
  • Angular – The mean angular deformation index.

Lower is better. Data transcribed from the Natural Earth Projection by @mbostock.

@syntagmatic
syntagmatic / README.md
Last active March 22, 2025 02:46
Hypersolids
@syntagmatic
syntagmatic / README.md
Last active October 27, 2024 02:15 — forked from mbostock/.block
Canvas Parallel Coordinates

An example of an SVG interaction layer over a canvas rendering layer. The SVG parallel coordinates starts to slow down significantly at 1000 data points. This version should scale better, and offer more opportunities for optimization.

Interactions done with the brush component

Based on d3.js Parallel Coordinates

@syntagmatic
syntagmatic / .block
Last active October 11, 2024 16:49 — forked from mbostock/.block
Bump Plot
license: gpl-3.0
height: 800
border: none
@syntagmatic
syntagmatic / README.md
Last active May 26, 2023 20:16
Nutrient Parallel Coordinates IV
@syntagmatic
syntagmatic / index.html
Created July 18, 2012 11:54 — forked from syntagmatic/index.html
Improved Parallel Coordinates
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Parallel Coordinates</title>
<style type="text/css">
html {
margin: 0;
width: 100%;
height: 100%;
@syntagmatic
syntagmatic / .block
Last active April 5, 2023 12:26
Comanche Dual
license: gpl-3.0
height: 800
border: no
@syntagmatic
syntagmatic / .block
Last active February 3, 2023 19:28
Exoplanets II
license: gpl-3.0
height: 560
border: no