block by nitaku a1f7c35684c1a78589f1b114fc5fc5a5

Rectangular adjacency matrix

Full Screen

A simple example of a rectangular adjacency matrix. The scaleBand.padding() method is not used because it is less flexible than using pixel math. This way, we can use pixel-based paddings and still be able to use the scale to address a specific cell without having to correct pixel values by taking the unknown padding amount into account.

index.js

index.html

index.coffee

index.css