Adding communication between search and visualization