see if data from db works with pie graph log data to console to check data of correct type