Skip to content

Instantly share code, notes, and snippets.

View renecnielsen's full-sized avatar

René Clausen Nielsen renecnielsen

View GitHub Profile
@renecnielsen
renecnielsen / Readme.md
Last active August 29, 2015 13:57 — forked from WillTurman/Readme.md
Streamgraph

D3 Streamgraph Example

Series Hover

The series hover interactivity uses the technique from lgrammel seen here: http://bl.ocks.org/1963983

Data Tooltip

It isn't necessarily a tooltip, but data is displayed by inverting the x-axis value into a date, and mapping the date to the corresponding data value for the series.

@renecnielsen
renecnielsen / README.md
Last active August 29, 2015 13:57 — forked from mbostock/.block
Difference Chart

This variation of a bivariate area chart uses clipping to alternate colors. When New York is warmer than San Francisco, the difference between the two is filled in green. When San Francisco is warmer, the difference is filled in red. A similar technique was used by William Playfair all the way back in 1786.

@renecnielsen
renecnielsen / index.html
Last active August 29, 2015 13:57 — forked from mbostock/.block
Sortable Table with Bars
<!DOCTYPE html>
<meta charset="utf-8">
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300' rel='stylesheet' type='text/css'>
<style type="text/css">
table {
border-collapse: collapse;
font: 300 10px "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
width: 720px;
}
@renecnielsen
renecnielsen / README.md
Last active August 29, 2015 13:57 — forked from mbostock/.block
Force-Directed Graph
@renecnielsen
renecnielsen / README.md
Last active August 29, 2015 13:57 — forked from mbostock/.block
Collapsible Tree
<!DOCTYPE html>
<meta charset="utf-8">
<style>
path {
stroke: #000;
fill-opacity: .8;
}
</style>
@renecnielsen
renecnielsen / README.md
Last active August 29, 2015 14:00 — forked from gniemetz/README.md

d3js Multiline chart with brushing and mouseover

@renecnielsen
renecnielsen / README.md
Last active August 29, 2015 14:06 — forked from mbostock/.block

This example, using satirical data from The Onion, demonstrates how to wrap long axis labels to fit on multiple lines.

@renecnielsen
renecnielsen / cosit.gexf
Last active August 29, 2015 14:11 — forked from emeeks/cosit.gexf
<?xml version="1.0" encoding="UTF-8"?>
<gexf xmlns="http://www.gexf.net/1.2draft" version="1.2" xmlns:viz="http://www.gexf.net/1.2draft/viz" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.gexf.net/1.2draft http://www.gexf.net/1.2draft/gexf.xsd">
<meta lastmodifieddate="2014-03-04">
<creator>Gephi 0.8.1</creator>
<description></description>
</meta>
<graph defaultedgetype="directed" mode="static">
<attributes class="node" mode="static">
<attribute id="startyr" title="startyr" type="integer"></attribute>
<attribute id="title" title="title" type="string"></attribute>