This is a five part series, taking you through stages of designing and creating reusable visualizations with d3.js
All visualizations have the same functionality, showcase the individual points with a bar chart and sum up the selected bars.
<!doctype html> | |
<html> | |
<head> | |
<title></title> | |
<meta charset=utf-8> | |
<script type="text/javascript" src="http://d3js.org/d3.v3.min.js"></script> | |
<script type="text/javascript" src="https://raw.github.com/square/crossfilter/master/crossfilter.min.js"></script> | |
<style> | |
body { | |
font-size: 100%; |
<!doctype html> | |
<html lang=en> | |
<head> | |
<meta charset=utf-8> | |
<title>blah</title> | |
</head> | |
<body> | |
</body> | |
</html> |
This is a five part series, taking you through stages of designing and creating reusable visualizations with d3.js
All visualizations have the same functionality, showcase the individual points with a bar chart and sum up the selected bars.
# Editor backup files | |
*.bak | |
*~ |
Mouseover to repel nodes. Adapted from my talk on force layouts.
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Force-Directed Layout (Multiple Foci)</title> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js"></script> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.geom.js"></script> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.layout.js"></script> | |
</head> | |
<body> | |
<script type="text/javascript"> |
Simple change to Mike Bostock's force-directed graph, adding colors to links.
This simple force-directed graph shows character co-occurence in Les Misérables. A physical simulation of charged particles and springs places related characters in closer proximity, while unrelated characters are farther apart. Layout algorithm inspired by Tim Dwyer and Thomas Jakobsen. Data based on character coappearence in Victor Hugo's Les Misérables, compiled by Donald Knuth.
license: gpl-3.0 |