fixed visualization to support both wattdepot2 and 3