Skip to content

Instantly share code, notes, and snippets.

@larskotthoff
larskotthoff / index.html
Created January 19, 2012 21:31
variable width line
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js"></script>
<script type="text/javascript" src="https://raw.github.com/larskotthoff/d3/varline/src/svg/line-variable.js"></script>
</head>
<body>
<div id="linevar"></div>
@larskotthoff
larskotthoff / index.html
Created January 25, 2012 19:53
Axis ticks arrange demo
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="https://raw.github.com/larskotthoff/d3/axisarrange-tmp/d3.js"></script>
<style type="text/css">
.tick {
stroke: #000;
}
.tickPointer {
stroke: #888;
@larskotthoff
larskotthoff / index.html
Created March 10, 2012 14:35
Chernoff faces for D3
<!DOCTYPE html>
<html>
<head>
<title>Chernoff faces</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<script type="text/javascript" src="http://www.larsko.org/v/d3.min.js"></script>
<script type="text/javascript" src="http://www.larsko.org/v/hpi/chernoff.js"></script>
<style type="text/css">
.chernoff > * {
fill: none;
@larskotthoff
larskotthoff / flare.json
Last active December 23, 2015 00:29 — forked from mbostock/.block
{
"name": "flare",
"children": [
{
"name": "analytics",
"children": [
{
"name": "cluster",
"children": [
{"name": "AgglomerativeCluster", "size": 3938},
@larskotthoff
larskotthoff / README.md
Last active December 25, 2015 14:29 — forked from wboykinm/README.md

Linked hover example

An attempt at a bidirectional linked hover state.

@larskotthoff
larskotthoff / flare.json
Last active March 14, 2017 19:55 — forked from mbostock/.block
{
"name": "flare",
"children": [
{
"name": "analytics",
"children": [
{
"name": "cluster",
"children": [
{"name": "AgglomerativeCluster", "size": 3938},

The scatterplot matrix visualizations pairwise correlations for multi-dimensional data; each cell in the matrix is a scatterplot. This example uses Anderson's data of iris flowers on the Gaspé Peninsula. Scatterplot matrix design invented by J. A. Hartigan; see also R and GGobi. Data on Iris flowers collected by Edgar Anderson and published by Ronald Fisher.

@larskotthoff
larskotthoff / force.csv
Created December 6, 2013 18:44 — forked from d3noob/.block
source target value
Harry Sally 1.2
Harry Mario 1.3
Sarah Alice 0.2
Eveie Alice 0.5
Peter Alice 1.6
Mario Alice 0.4
James Alice 0.6
Harry Carol 0.7
Harry Nicky 0.8
@larskotthoff
larskotthoff / README.md
Last active December 31, 2015 03:09 — forked from mbostock/.block