A constraint-based layout approach to data visualizations