Integrating data analysis with data discovery and design