Skip to content

Instantly share code, notes, and snippets.

@colin-young
colin-young / index.html
Last active June 6, 2016 20:18 — forked from d3noob/.block
Sankey Diagram for BRK/B BCS Strategy
<!DOCTYPE html>
<meta charset="utf-8">
<title>BCS Strategy BRK/B</title>
<style>
.node rect {
cursor: move;
fill-opacity: .9;
shape-rendering: crispEdges;
}
@colin-young
colin-young / README.md
Last active June 6, 2016 20:16 — forked from mbostock/.block
Stock/Options Portfolio Dashboard Demo

Stock/options portfolio demo.

Designed by Stephen Few, a bullet chart “provides a rich display of data in a small space.” A variation on a bar chart, bullet charts compare a given quantitative measure (such as profit or revenue) against qualitative ranges (e.g., poor, satisfactory, good) and related markers (e.g., the same measure a year ago). Layout inspired by Stephen Few. Implementation based on work by Clint Ivy, Jamie Love of N-Squared Software and Jason Davies. The "update" button randomizes the values slightly to demonstrate transitions.