python-c3
python-c3 is a file based python wrapper for the c3 javascript plotting library.
usage:
import pyc3
pyc3.generate({
"data": {
"columns": [
['data1', 30, 200, 100, 400, 150, 250],
['data2', 50, 20, 10, 40, 15, 25]
]
}
})
Lots of examples of appropriate dictionaries to provide are found on the c3 examples page
Future improvements include
- explicit custom css
- dynamic api support ... somehow, would likely require ajax
- possible flask-based server version
- possible image output via spynner as in this
Completed improvements
- pandas support
- custom full template