A sparklines implementation using D3 and SVG