Search code examples
pythonchartstufte

a Pythonic way to draw a bump chart


I have a csv file that contains data I want to represent using a bump chart (as an example )

http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0003nk

BUT I need to have some control over the formatting and would like to approach this in the most Pythonic way possible ( I am fairly new to Python using 3.5) so wonder if anyone could tell me which graphing package gives me the kind of control that would allow me to:

  • draw a bump chart
  • specify the font (Gill Sans)
  • specify the number of pixels per centimeter squared (about 10000)

If anyone has a package that is in the open source environment that would be the best fit for me I would be grateful.


Solution

  • SO I have accidently found my answer myself in the example I gave. A VERY splendid man called Pascal Schetalat has an EXCELLENT implementation in Python using Numpy and Pandas. Here is the link

    http://nbviewer.ipython.org/gist/pascal-schetelat/8382651

    thank YOU Pascal