Closed HHammond closed 8 years ago
Sparklines are a great way to represent data. Edward Tufte has a great post on the theory and applications.
I think sparklines definitely belong in reporting, the question is whether or not PrettyPandas should implement them itself.
What would a sparkline API even look like? Would this use another python library (that seems ideal)?
I'd love the look of http://metricsgraphicsjs.org/examples.htm#lines for the design.
Here's an example of a notebook with sparklines: https://github.com/iiSeymour/sparkline-nb/blob/master/sparkline-nb.ipynb. I like the way that the notebook has a single column with series data in it. The alternative would be to somehow slice on the index and hide the cells.
Pulling in D3 would probably be overkill on dependencies here too...
I have another library for sparklines, it's less code in one code base which makes it easier to maintain.
Sparklines are a great way to represent data. Edward Tufte has a great post on the theory and applications.
I think sparklines definitely belong in reporting, the question is whether or not PrettyPandas should implement them itself.
What would a sparkline API even look like? Would this use another python library (that seems ideal)?
I'd love the look of http://metricsgraphicsjs.org/examples.htm#lines for the design.
Here's an example of a notebook with sparklines: https://github.com/iiSeymour/sparkline-nb/blob/master/sparkline-nb.ipynb. I like the way that the notebook has a single column with series data in it. The alternative would be to somehow slice on the index and hide the cells.