Use D3 javascript library to trace an Ulam's spiral