Web service that renders line plots as plain ASCII, using gnuplot. Deployed to asciiplot.com.
$ printf "1,2\n2,4\n4,8" | curl -X POST --data-binary @- asciiplot.com
8 +-----------------+-----------------+-----------------+---------------###
| #### |
7 + #### +
| #### |
6 + #### +
| #### |
5 + #### +
| #### |
| #### |
4 + ###### *****
| ######### ********* |
3 + ######### ********* +
| ######### ********* |
2 ##### ************** +
| ****************** |
1 *********---------+-----------------+-----------------+-----------------+
0 0.5 1 1.5 2
Note: CSV must be numeric only, no headers.
curl asciiplot.com?values=0.5,2,1.3
2 +-----------------+---------------*********----------+----------------+
| ** ***** |
1.8 + *** ***** +
| ** ***** |
1.6 + *** ***** +
| ** ***** |
1.4 + *** **+
1.2 + ** *
| *** |
1 + ** +
| *** |
0.8 + ** +
| *** |
0.6 + ** +
** |
0.4 +-----------------+----------------+-----------------+----------------+
0 0.5 1 1.5 2
curl asciiplot.com?csv=10,1%0A20,2%0A30,3
30 +-----------------+-----------------+----------------+--------------****
| ******* |
25 + ******* +
| ******* |
| ******* |
20 + ******* +
| ******* |
15 + ******** +
| ******* |
| ******* |
10 **** +
| |
5 + +
| ##################
###################################################### |
0 +-----------------+-----------------+----------------+-----------------+
0 0.5 1 1.5 2
curl "asciiplot.com?values=0.5,2,1.3&width=30&height=10"
2 +----+---*********--+
1.6 + ** **+
1.2 + ** *
1 + ** +
0.6 +** +
0.4 *----+----+----+----+
0 0.5 1 1.5 2
curl "asciiplot.com?values=?values=6,5,1,2,3,5,6,5,1&avg=3"
5.5 +-----------+----------+-----------+-----------+----------+-----------+
| ***** |
5 + **** ** +
| **** *** |
4.5 + *** ** +
| ** *|
4 *** *** *
| ** ** |
| ** ** |
3.5 + ** *** +
| ** ** |
3 + * ** +
| ****** ** |
2.5 + **** ** +
| * ** |
2 +-----------+----------*-----------+-----------+----------+-----------+
0 1 2 3 4 5 6
Content type
Image
Digest
Size
300 MB
Last updated
about 9 years ago
docker pull andreasjansson/asciiplot