Skip to content

Instantly share code, notes, and snippets.

@CristinaPA
CristinaPA / README.md
Last active December 26, 2015 11:29 — forked from mbostock/.block
@CristinaPA
CristinaPA / README.md
Created October 24, 2013 19:44 — forked from mbostock/.block

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.

@CristinaPA
CristinaPA / README.md
Created October 24, 2013 17:14 — forked from mbostock/.block
@CristinaPA
CristinaPA / README.md
Created October 22, 2013 13:11 — forked from mbostock/.block

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. Cartesian 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.