block by saraquigley 832f45fefbf20792105ea99073b19aa3

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.

forked from nitaku‘s block: Rectangular adjacency matrix

forked from anonymous‘s block: Rectangular adjacency matrix

index.js

index.html

index.coffee

index.css