Angular and D3 presentation and code