First implementation of D3, still experiencing API issues