Remove dependency on old pie chart code