A Reusable Sparkline chart created with with the help of d3.js