added pie chart to try sorting. Added date selector