Fix Pie Chart

Added socket.io variable declaration and changed the SVG to be appended to "#pie-display" instead of "body".