a demonstration of assorted D3.js trickery