graphics code for make pie charts cleaned up; also included in the cleaned emdat data