TREC visualization code refactored
TREC visualization code refactored