Skip to content

Instantly share code, notes, and snippets.

@syntagmatic
syntagmatic / index.html
Last active March 27, 2024 04:03 — 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 / index.html
Created July 20, 2012 10:28 — forked from syntagmatic/index.html
Parallel Coordinates with Invertible Axes
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Invertible Parallel Coordinates</title>
<style type="text/css">
html, body {
margin: 0;
width: 100%;
@syntagmatic
syntagmatic / index.html
Created July 18, 2012 12:44 — forked from syntagmatic/index.html
Parallel Coordinates with Invertible Axes
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Invertible Parallel Coordinates</title>
<style type="text/css">
html, body {
margin: 0;
width: 100%;
@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 / README.md
Created April 27, 2012 03:47 — forked from jasondavies/.block
Parallel Coordinates with Inverted Axis
@syntagmatic
syntagmatic / index.html
Created April 26, 2012 12:52 — forked from syntagmatic/index.html
Flat-edged Parallel Coordinates
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Canvas Parallel Coordinates</title>
<style type="text/css">
html {
margin: 0;
}
body {
@syntagmatic
syntagmatic / index.html
Created April 26, 2012 11:36 — forked from syntagmatic/README.md
Cycled Parallel Coordinates
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Canvas Parallel Coordinates</title>
<style type="text/css">
html {
margin: 0;
}
body {
@syntagmatic
syntagmatic / README.md
Created April 19, 2012 10:08 — forked from syntagmatic/README.md
Canvas Parallel Coordinates - Shuffled Rendering

An example of an SVG interaction layer over a canvas rendering layer. Data from the USDA Nutrition Database.

This example has a few design differences from most parallel coordinates:

  • requestAnimationFrame for gradual rendering
  • shuffled rendering order
  • bezier curves with canvas
  • autoscaling opacity
  • tick toggles
  • dark/light themes
@syntagmatic
syntagmatic / README.md
Created April 19, 2012 01:36 — forked from syntagmatic/README.md
Canvas Parallel Coordinates - getImageData caching

Paths are rendered only once, and the imageData is cached for redrawing. Redrawing a single path requires one clearRect, putImageData and drawImage call so the net effect seems slower than simply rerendering that paths with moveTo/lineTo.

@syntagmatic
syntagmatic / README.md
Created April 18, 2012 08:03 — forked from syntagmatic/README.md
Canvas Parallel Coordinates - 7637 Rows

An example of an SVG interaction layer over a canvas rendering layer. This example has 7637 data points from the USDA Nutrition Dataset. Uses requestAnimationFrame to prevent path rendering from locking up the UI.

Interactions done with the brush component

Based on d3.js Parallel Coordinates