D3 component to create an ECG chart