Add ported example from D3 for line plot.