@the_dataist I used a new tool I wrote myself, based on jquery and raphaeljs. The cartogram was rendered in Python.