add donut chart and api routes for dat