D3 Javascript solution:
Even though it's been a while, big thanks to Joel for the query solution and a big thanks to Malcolm Maclean whose 4th edition book for D3 with the code solution is free (or rather pick your price) on leanpub: https://leanpub....