Redone performance graphs and d3 directives