Pragmatically Brush

How can I pragmatically brush a plot based on data I’ve received from user input? For example I have an excel style sheet with rows and columns of data and when they select certain data I want it to be selected/brushed on the plot. How can I go about this?