works with jaxb to display data and shows pie charts