Chord diagrams show directed relationships among a group of entities. This example also demonstrates simple interactivity by using mouseover filtering. Layout inspired by Martin Krzywinski's beautiful work on Circos.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype HTML> | |
<meta charset = 'utf-8'> | |
<html> | |
<head> | |
<script src='http://polychart.com/s/third_party/polychart2.standalone.js' type='text/javascript'></script> | |
<style> | |
.rChart { | |
display: block; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype HTML> | |
<meta charset = 'utf-8'> | |
<html> | |
<head> | |
<script src='http://polychart.com/s/third_party/polychart2.standalone.js' type='text/javascript'></script> | |
<style> | |
.rChart { | |
display: block; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype HTML> | |
<meta charset = 'utf-8'> | |
<html> | |
<head> | |
<link rel='stylesheet' href='http://nvd3.org/src/nv.d3.css'> | |
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js' type='text/javascript'></script> | |
<script src='http://d3js.org/d3.v2.min.js' type='text/javascript'></script> | |
<script src='http://nvd3.org/nv.d3.js' type='text/javascript'></script> | |
<script src='http://nvd3.org/lib/fisheye.js' type='text/javascript'></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is a sample file | |
http://d3js.org/ | |
http://www.personal.psu.edu/cab38/ColorBrewer/ColorBrewer.html | |
http://bl.ocks.org/AndrewRP/raw/7468330/ | |
http://bl.ocks.org/AndrewRP/7468330 | |
https://gist.github.com/mbostock/1046712 | |
http://bl.ocks.org/mbostock/1046712 | |
https://github.com/mbostock/d3/wiki/Gallery | |
http://bl.ocks.org/mbostock | |
http://bl.ocks.org/mbostock/4062006 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var entity = [16657, 586163, 54119, 112654, 185593, 570264, 19441, 843876] | |
var matrix = [ | |
// 16657, 586163, 54119, 112654, 185593, 570264, 19441, 843876 | |
[0, 10020, 0, 22500, 0, 0, 2500, 0], // 16657 | |
[0, 0, 0, 9988, 0, 0, 0, 0], // 586163 | |
[0, 0, 0, 0, 0, 0, 0, 0], // 54119 | |
[0, 20000, 0, 0, 2500, 0, 0, 0], // 112654 | |
[0, 0, 0, 0, 0, 0, 0, 17500], // 185593 | |
[2487, 0, 0, 0, 0, 0, 2478, 0], // 570264 |
Adatao stuff.
The tree
layout implements the Reingold-Tilford algorithm for efficient, tidy arrangement of layered nodes. The depth of nodes is computed by distance from the root, leading to a ragged appearance. Radial orientations are also supported. Implementation based on work by Jeff Heer and Jason Davies using Buchheim et al.'s linear-time variant of the Reingold-Tilford algorithm. Data shows the Flare class hierarchy, also courtesy Jeff Heer.
Compare to this radial layout.
Built with blockbuilder.org
forked from anonymous's block: fresh block
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) | |
echo SCRIPT_DIR=$SCRIPT_DIR | |
cd $SCRIPT_DIR | |
S3_INPUT_URL=${1} |