pie charts works. still need to add data checks to prevent crashes