Quasi-linear D3 visualization for JS objects