sparkline

https://omnipotent.net/jquery.sparkline/#s-about

$ vi index.html
<html>
<body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://omnipotent.net/jquery.sparkline/2.1.2/jquery.sparkline.min.js"></script>
<div id="sparkline" width="100px"></div>
<script>
$("#sparkline").sparkline([5,6,7,9,9,5,3,2,2,4,6,7], {
    type: 'line'
});
</script>
</body>
</html>
$ python -m SimpleHTTPServer 8000

https://github.com/fnando/sparkline

$ apt-get install npm
$ npm install @fnando/sparkline --save

© 2018. All rights reserved.

Powered by Hydejack v8.4.0