Simple svg directive for plotting data to a line