Start switch from matplotlib to D3 for graph