Preliminary frontend work with D3