Data preprocessing in data visualization