Added d3 javascipt  code for sparklines