block by curran 0e28e48f3e0bbd6262d2

Axes with Model.js

Full Screen

This example shows one way to encapsulate the D3 Margin Convention using Model.js.

Check out the resize behavior in full screen mode.

More generally, this example is an experiment in how to generalize self-contained pieces of dynamic graphical behavior. Note that the following three pieces of this visualization are each implemented in separate functions:

Draws from:

forked from curran‘s block: Margin Convention with Model.js

index.html