Implemented spectrum visualization