Conway's Game of Life visualised in D3.js