Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cixtor/sparkline
Sparkline command line tool with support for piped Unix commands, written in Go
https://github.com/cixtor/sparkline
Last synced: 28 days ago
JSON representation
Sparkline command line tool with support for piped Unix commands, written in Go
- Host: GitHub
- URL: https://github.com/cixtor/sparkline
- Owner: cixtor
- License: mit
- Created: 2016-12-25T20:54:09.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-25T20:54:33.000Z (about 8 years ago)
- Last Synced: 2024-06-20T14:20:40.973Z (7 months ago)
- Language: Go
- Size: 723 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
### Sparkline
```shell
$ stock-market +GOOG | sparkline ⇶ ▂▂▃▆█▃▆▅▁▅▃▂▅▄▇▄▇▆▁▄
```A [Sparkline](https://en.wikipedia.org/wiki/Sparkline) is a very small line chart, typically drawn without axes or coordinates. It presents the general shape of the variation (typically over time) in some measurement, such as temperature or stock market price, in a simple and highly condensed way. Sparklines are small enough to be embedded in text, or several sparklines may be grouped together as elements of a small multiple. Whereas the typical chart is designed to show as much data as possible, and is set off from the flow of text, sparklines are intended to be succinct, memorable, and located where they are discussed.
Sparklines are frequently used in line with text. For example: The Dow Jones Industrial Average for February 7, 2006 sparkline which illustrates the fluctuations in the Down Jones index on February 7, 2006. The sparkline should be about the same height as the text around it. Tufte offers some useful design principles for the sizing of sparklines to maximize their readability.
Check this list of [Things You Can Do with Sparklines](https://github.com/holman/spark/wiki/Wicked-Cool-Usage).
![Sparkline](screenshot.png)
Original idea by [holman/spark](https://github.com/holman/spark).