Get svg in Data URL Scheme format.

def data_url_scheme(self):
        """Get svg in Data URL Scheme format.
        """
        # TODO: move to web.app or make it function
        # remove #svg from dataframe
        encoded = base64.b64encode(self.contents().encode())
        return "data:image/svg+xml;base64," + encoded.decode()