first pass at data visualization functional