modified visualize data function to allow more sets of modifiers