mutation visualization code