Some pie chart display improvements

Two remaining problems. 
1. d3 fixed size figure. The labels will be out of bound
2. Multiple pie chart on same page.