An optimization-based approach to dynamic data transformation for smart visualization | Synapse