Sample tablet based data visualization app code