all visualization script with comments