Add sparklines.js to your HTML file and use proper data attributes and that is about it. Check kitchensink demo on https://mitjafelicijan.github.io/sparklines/.