Constructing a correlation plot and a phrase tree