MIS 0855 Data Science (Section 005) Fall 2016 In-Class Exercise (Week 6) Advanced Data Visualization with Tableau

Similar documents
Dot Plots and Distributions

Computer-Assisted Nutrient Management Tutorials. Printing Maps

Technical Specifications

SONy. Sony Wireless Mic Systems New Operating Channels.

Analyzing and Saving a Signal

AP Statistics Sampling. Sampling Exercise (adapted from a document from the NCSSM Leadership Institute, July 2000).

Frequencies. Chapter 2. Descriptive statistics and charts

Word Tutorial 2: Editing and Formatting a Document

Algebra I Module 2 Lessons 1 19

Navigate to the Journal Profile page

Statistics for Engineers

Husky Stadium CLUB HUSKY Seat Selection Instruction Manual

AP Statistics Sec 5.1: An Exercise in Sampling: The Corn Field

Getting started with Spike Recorder on PC/Mac/Linux

USA WESTBOUND LCL SAILING SCHEDULES

TI-Inspire manual 1. Real old version. This version works well but is not as convenient entering letter

What is Statistics? 13.1 What is Statistics? Statistics

Mendeley Basics. Get Mendeley. Get Articles and Documents into Mendeley. Import Citations from a Website

Alternative: purchase a laptop 3) The design of the case does not allow for maximum airflow. Alternative: purchase a cooling pad

READ THIS FIRST. Morphologi G3. Quick Start Guide. MAN0412 Issue1.1

Using DICTION. Some Basics. Importing Files. Analyzing Texts

LMS301: Reference Management Software (Mendeley)

Homework Packet Week #5 All problems with answers or work are examples.

LAB 1: Plotting a GM Plateau and Introduction to Statistical Distribution. A. Plotting a GM Plateau. This lab will have two sections, A and B.

Licensed Access: The Smarter Policy for TV White Space and Broadband Internet Access

2 Select the magic wand tool (M) in the toolbox. 3 Click the sky to select that area. Add to the. 4 Click the Quick Mask Mode button(q) in

Android ManageMyTVs Application User Guide Version 3.0

CIS Pre Test. Multiple Choice Identify the choice that best completes the statement or answers the question.

GETTING STARTED... 2 ENVIRONMENT SCAN... 2

Getting Started. Connect green audio output of SpikerBox/SpikerShield using green cable to your headphones input on iphone/ipad.

User s Manual. Log Scale (/LG) GX10/GX20/GP10/GP20/GM10 IM 04L51B01-06EN. 3rd Edition

Processing data with Mestrelab Mnova

User s Manual. Log Scale (/LG) GX10/GX20/GP10/GP20/GM10 IM 04L51B01-06EN. 2nd Edition

Introduction to IBM SPSS Statistics (v24)

Version : 1.0: klm. General Certificate of Secondary Education November Higher Unit 1. Final. Mark Scheme

EndNote Web. Quick Reference Card THOMSON SCIENTIFIC

ManageMyTVs App for AndroidTM

MATH 214 (NOTES) Math 214 Al Nosedal. Department of Mathematics Indiana University of Pennsylvania. MATH 214 (NOTES) p. 1/3

Blueline, Linefree, Accuracy Ratio, & Moving Absolute Mean Ratio Charts

WindData Explorer User Manual

Cisco Spectrum Expert Software Overview

Table of Contents Introduction

Setting Up Your ThinkorSwim Charts for Beginners

E X P E R I M E N T 1

Guide to the FACS Calibur

Vision Call Statistics User Guide

Test Records. Scanning Test Records. This document provides a step-by-step tutorial on how to scan Test Records and verify the imported information.

EndNote Basics Fall 2010, Room 14N-132 Peter Cohn, x8-5596

Analysis and Recommendations:

Objective: Write on the goal/objective sheet and give a before class rating. Determine the types of graphs appropriate for specific data.

CFlow User Guide. Science is hard. Flow cytometry should be easy.

GBA 327: Module 7D AVP Transcript Title: The Monte Carlo Simulation Using Risk Solver. Title Slide

NPOWER VIDEO ON DEMAND REPORT GUIDE SUMMER 2013

SOUND LABORATORY LING123: SOUND AND COMMUNICATION

Fitt s Law Study Report Amia Oberai

Exercise #1: Create and Revise a Smart Group

PHY221 Lab 1 Discovering Motion: Introduction to Logger Pro and the Motion Detector; Motion with Constant Velocity

Sampling Worksheet: Rolling Down the River

Cover Page for Lab Report Group Portion. Boundary Layer Measurements

PicoScope 6 PC Oscilloscope Software

UNIVERSITY OF MASSACHUSETTS Department of Biostatistics and Epidemiology BioEpi 540W - Introduction to Biostatistics Fall 2002

NOTICE: This document is for use only at UNSW. No copies can be made of this document without the permission of the authors.

Analysis and sorting of cells with FACSAria II flow cytometer Tiina Pessa-Morikawa / Revised

EndNote X8. Research Smarter. Online Guide. Don t forget to download the ipad App

Overview. Signal Averaged ECG

Lab experience 1: Introduction to LabView

Math 7 /Unit 07 Practice Test: Collecting, Displaying and Analyzing Data

HD-SDI Express User Training. J.Egri 4/09 1

Chapter 5. Describing Distributions Numerically. Finding the Center: The Median. Spread: Home on the Range. Finding the Center: The Median (cont.

EndNote Basic Workbook for School of Management

Getting Started with the LabVIEW Sound and Vibration Toolkit

Lab Determining the Screen Resolution of a Computer

Dektak Step by Step Instructions:

SIGVIEW v2.6 User Manual

7thSense Design Delta Media Server

Getting started with Mendeley

ME EN 363 ELEMENTARY INSTRUMENTATION Lab: Basic Lab Instruments and Data Acquisition

PYROPTIX TM IMAGE PROCESSING SOFTWARE

6 ~ata-ink Maximization and Graphical Design

Task-based Activity Cover Sheet

APA Research Paper Chapter 2 Supplement

ConeXus Process Guide

Scout 2.0 Software. Introductory Training

The DataView PowerPad III Control Panel

Analyzing Modulated Signals with the V93000 Signal Analyzer Tool. Joe Kelly, Verigy, Inc.

Introduction to EndNote X7 Training Notes (ver 1)

QuadTech Data Central Reports Overview

Citation analysis: Web of science, scopus. Masoud Mohammadi Golestan University of Medical Sciences Information Management and Research Network

University of Liverpool Library. Introduction to Journal Bibliometrics and Research Impact. Contents

MultiSpec Tutorial: Visualizing Growing Degree Day (GDD) Images. In this tutorial, the MultiSpec image processing software will be used to:

Configuring and Troubleshooting Set-Top Boxes

EndNote X7 Reference Management Software The Complete Reference Solution

EndNote for Windows. Take a class. Background. Getting Started. 1 of 17

NETFLIX MOVIE RATING ANALYSIS

Introduction To LabVIEW and the DSP Board

What can you tell about these films from this box plot? Could you work out the genre of these films?

EndNote X6 Workshop Michigan State University Libraries

Manual of Operation for WaveNode Model WN-2m. Revision 1.0

System Requirements SA0314 Spectrum analyzer:

Guide to Analysing Full Spectrum/Frequency Division Bat Calls with Audacity (v.2.0.5) by Thomas Foxley

Transcription:

MIS 0855 Data Science (Section 005) Fall 2016 In-Class Exercise (Week 6) Advanced Data Visualization with Tableau Objective: Learn how to use Tableau s advanced data visualization tools Learning Outcomes: Use advanced visualization toolkits in Tableau for more effective presentation of data analyses Understand the purpose and effective use of the following tools dual line chart, box plot, bubble chart, bullet graph, and histogram Part 0. Understand the Dataset In this exercise, we will use the crime statistics in large U.S. cities for 2009-2014. This dataset is obtained from the Uniform Crime Reports (UCR) published by the FBI (https://ucr.fbi.gov/crime-in-the-u.s/2014/crime-in-the-u.s.-2014). This file includes the number of crime occurrences per population (crime rates) and the number of police officers killed or assaulted in the line of duty. 1) Download Crimes 1999-2014.xlsx and save it to your computer. Remember where you saved it! 2) Open the file, and browse the data. 3) Take a look at Data Dictionary tab, and understand what each crime data is for. Part 1. Dual Line Chart 1) Start Tableau. 2) Click on Microsoft Excel under In a file. 3) Navigate to the location where your data file ( Crimes 1999-2014.xlsx ) is stored and select it. 4) Drag the Crimes 1999-2014 sheet to the workspace. 4) Click Sheet 1 to Go to Worksheet. - 1 -

5) For us to draw a line chart, there must be at least one date-type dimension. If you look at Dimensions panel, Year dimension is designated as a text field. Right-click Year and select Change Data Type > Date. You will see a date icon next to Year. 6) Drag Year from Dimensions to Columns, and drag Violent Crime Rate and Property Crime Rate from Measures to Rows. You will see two separate line charts the top one for the violent crime rate and the bottom one for the property rate. - 2 -

7) Click Dual Line Chart on Show Me tab. You will see that the two charts are combined into one. - 3 -

8) We d like to know the crime trends in the city where we live Philadelphia. Drag City from Dimensions to Filters and check Philadelphia. 9) On Marks panel, click Color and select a dotted line. - 4 -

10) Right next to Color, click Size, and you can make the lines thicker. 11) Click Analytics tab next to Data. 12) Drag Average Line from Analytics to Table. - 5 -

Now you ll see that the chart now displays the average crime rates in 1999-2014, which demonstrates that Philadelphia has become safer to live in recent years. 13) Rename Sheet 1 to Dual Line Charts and save Tableau. Part 2. Box Plot 1) Create a new worksheet. 2) Drag City from Dimensions to Columns, and drag Property Crime Rate from Measures to Rows. - 6 -

3) Let s focus on the cities in Midwest. Drag Region from Dimensions to Filter. Select East Midwest and West Midwest. 4) On the top menu, click Analysis and uncheck Aggregate Measures. You ll see the property crime rate in each year of 1999-2014 appears as a circle. - 7 -

5) On Show Me tab, click box-and-whisker plot. - 8 -

6) Move the mouse over a box, which shows the range of property crime rates in each city in 1999-2014 (minimum, maximum, 25%, 50% and 75% quartiles). 7) Rename Sheet 2 to Box Plot and save. - 9 -

Part 3. Bubble Chart 1) Create a new worksheet. 2) Drag Violent Crime Rate from Measures to Columns, and drag Property Crime Rate to Rows. 3) On the top menu, click Analysis and uncheck Aggregate Measures, which shows a scatter plot of violent and property crime rates. As expected, the two types of crimes are highly correlated. 13K 12K 11K 10K 9K 8K 7K Pro 6K 5K 4K 3K 2K 1K 0K 0K 1K 2K 3K 4K 5K 6K Violent Crime Rate 4) On Marks panel, change Automatic to Circle. - 10 -

5) Drag Officer Assault Rate to Size on Marks panel. 14K 13K 12K 11K 10K 9K 8K 7K Pro 6K 5K 4K 3K 2K 1K 0K 0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000 5500 6000 6500 Violent Crime Rate Note that Officer Assault Rate is the number of police officers killed or assaulted in the line of duty. This bubble chart now shows that police officers are in more danger (as shown in bigger circles) in cities with higher crime rates. - 11 -

6) Drag Region from Dimensions from Color on Marks panel. 14K 13K 12K 11K 10K 9K 8K 7K Pro 6K 5K 4K 3K 2K 1K 0K 0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000 5500 6000 6500 Violent Crime Rate 7) While the plot might look pretty, we can make this more informative and visually appealing by using fewer colors. (It is less distracting to viewers if you use as few different colors as possible.) Right-click Region panel, and select Edit colors. - 12 -

8) Let s assign colors to Regions as follows. Northeast Dark blue South Atlantic Light blue Pacific Dark red Mountain Light red South Dark green East and West Midwest Light green 13K 12K 11K 10K 9K 8K 7K Pro 6K 5K 4K 3K 2K 1K 0K 0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000 5500 6000 6500 Violent Crime Rate Now this one looks easier to understand (Blue is East Coast, Red is West Coast, and Green is inbetween.) It is now clearer that cities in West Midwest (in light green) and South Atlantic (in light blue) are more crime-prone. 7) Rename Sheet 3 to Bubble Chart and save. - 13 -

Part 4. Bullet Graph 1) Create a new worksheet. 2) Drag Region from Dimensions to Filters. Select South. 3) Drag Year from Dimensions to Filters. Double-click Years and select 2014. 4) With pressing Ctrl key, click City, Violent Crime Rate, and Violet Crime Rate in Prior Year. 5) On Show me tab, click Bullet Graphs. - 14 -

City Arlington Austin Baton Rouge Birmingham Corpus Christi Dallas El Paso Fort Worth Garland Houston Laredo Louisville Lubbock Memphis Mobile Montgomery New Orleans Oklahoma City Plano San Antonio Tulsa 0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000 5500 6000 Violent Crime Rate in Prior Year This graph shows the violent crime rates in a prior year (2013) as bars and the crime rate in a current year (2014) as horizontal line as a reference. It is not informative. We d rather like a graph that shows the 2014 crime rate as a bar and the 2013 crime rate as a reference. 6) Right-click the horizontal axis and select Swap reference line fields. - 15 -

Now we can see how the crime rate has changed from 2013 (line) to 2014 (bar) in each southern city. 7) Rename Sheet 4 to Bullet Graph and save. Part 4. Histogram 1) Create a new worksheet. 2) Click Property Crime Rate on Measures. 3) On Show Me tab, click Histogram. - 16 -

4) Drag Region from Dimensions to Color. - 17 -

5) Rename Sheet 5 to Histogram and save. - 18 -