Some visualization code.