Creating graphics for analytics page