1 Raw Data is Ugly.

Similar documents
In this example, Mrs. Smith is looking to create graphs that represent the ethnic diversity of the 24 students in her 4 th grade class.

Sample Problems. 10 yards rushing = 1/48 (1/48 for each 10 yards rushing) 401 yards passing = 16/48 (1/48 for each 25 yards passing)

Excel -- Creating Charts

CREATING EXCEL PIVOT TABLES AND PIVOT CHARTS FOR LIBRARY QUESTIONNAIRE RESULTS

Excel Tutorial. Bio 150B Excel Tutorial 1

Microsoft Word Mail Merge

Microsoft Word 2013: Mail Merge

ITS Training Class Charts and PivotTables Using Excel 2007

Using Excel for your assignments

Summary of important mathematical operations and formulas (from first tutorial):

Data representation and analysis in Excel

Microsoft Excel 2007 Level 2

Computer Skills Microsoft Excel Creating Pie & Column Charts

How to make a line graph using Excel 2007

Excel Math Project for 8th Grade Identifying Patterns

Advanced Excel Charts : Tables : Pivots : Macros

Lab 11: Budgeting with Excel

Google Sites. How to create a site using Google Sites

Modifying Colors and Symbols in ArcMap

Microsoft Excel 2013 Tutorial

Click on various options: Publications by Wizard Publications by Design Blank Publication

Microsoft Office Excel 2013

Microsoft Excel 2010 Charts and Graphs

Computer Training Centre University College Cork. Excel 2013 Pivot Tables

INTERMEDIATE Excel 2013

A Guide to Using Excel in Physics Lab

Excel Charts & Graphs

Client Marketing: Sets

EXCEL EXERCISE #8: Consolidating and Linking Spreadsheets

Personal Portfolios on Blackboard

Search help. More on Office.com: images templates

Excel 2003 A Beginners Guide

PowerPoint Slide Show Step-By-Step

Draw pie charts in Excel

Excel 2007 A Beginners Guide

Creating Accessible Documents in Word 2011 for Mac

Formulas, Functions and Charts

Basic Pivot Tables. To begin your pivot table, choose Data, Pivot Table and Pivot Chart Report. 1 of 18

Microsoft Excel 2010 Training. Use Excel tables to manage information

Spreadsheet. Parts of a Spreadsheet. Entry Bar

MICROSOFT OUTLOOK 2010 WORK WITH CONTACTS

Probability Distributions

Excel 2007 Charts and Pivot Tables

As in the example above, a Budget created on the computer typically has:

Microsoft Office Word 2013

Sample Table. Columns. Column 1 Column 2 Column 3 Row 1 Cell 1 Cell 2 Cell 3 Row 2 Cell 4 Cell 5 Cell 6 Row 3 Cell 7 Cell 8 Cell 9.

A Predictive Model for NFL Rookie Quarterback Fantasy Football Points

Introduction to Microsoft Access 2010

Using Microsoft Excel to Manage and Analyze Data: Some Tips

Creating a Poster Presentation using PowerPoint

3. Locate the different selections of Styles from the Home Tab, Styles Group

Creating Bar Charts and Pie Charts Excel 2010 Tutorial (small revisions 1/20/14)

RANGER S.A.S 3D (Survey Analysis Software)

Excel: Examples, Fun Projects and Games

Using Microsoft Word. Working With Objects

Scientific Graphing in Excel 2010

Introduction to Microsoft Access 2013

Interactive Excel Spreadsheets:

EDIT202 PowerPoint Lab Assignment Guidelines

Making a Chart Using Excel

Microsoft Excel 2013: Charts June 2014

Working with sections in Word

STC: Descriptive Statistics in Excel Running Descriptive and Correlational Analysis in Excel 2013

CentralMass DataCommon

CHARTS AND GRAPHS INTRODUCTION USING SPSS TO DRAW GRAPHS SPSS GRAPH OPTIONS CAG08

A simple three dimensional Column bar chart can be produced from the following example spreadsheet. Note that cell A1 is left blank.

Mail Merge. Course Description. Objectives: Design a Main Document. Design a Data Source. Directories. Merge the Main Document with the Data

Scatter Plots with Error Bars

Data Visualization. Prepared by Francisco Olivera, Ph.D., Srikanth Koka Department of Civil Engineering Texas A&M University February 2004

WIN AT ANY COST? How should sports teams spend their m oney to win more games?

Creating an Access Database. To start an Access Database, you should first go into Access and then select file, new.

ANDREW BAILEY v. THE OAKLAND ATHLETICS

Using Excel s PivotTable to Analyze Learning Assessment Data

TULANE BASEBALL ARBITRATION COMPETITION BRIEF FOR THE TEXAS RANGERS. Team 20

APPLYING BENFORD'S LAW This PDF contains step-by-step instructions on how to apply Benford's law using Microsoft Excel, which is commonly used by

Microsoft Excel Basics

Grade 8 Proportional Reasoning Lesson and Resources

Intermediate PowerPoint

Creating and Formatting Charts in Microsoft Excel

PowerPoint 2013 Basics of Creating a PowerPoint Presentation

Microsoft PowerPoint Exercises 4

Excel Pivot Tables. Blue Pecan Computer Training Ltd - Onsite Training Provider :: :: info@bluepecan.co.

To launch the Microsoft Excel program, locate the Microsoft Excel icon, and double click.

When to use Excel. When NOT to use Excel 9/24/2014

Getting Started with GRUFF

This activity will show you how to draw graphs of algebraic functions in Excel.

Chapter 4 Displaying and Describing Categorical Data

To create a histogram, you must organize the data in two columns on the worksheet. These columns must contain the following data:

This file contains 2 years of our interlibrary loan transactions downloaded from ILLiad. 70,000+ rows, multiple fields = an ideal file for pivot

Microsoft PowerPoint 2010

Introduction to Microsoft Excel 2007/2010

Data exploration with Microsoft Excel: univariate analysis

Introduction to Microsoft Word 2003

Intellect Platform - Tables and Templates Basic Document Management System - A101

Appraisal Economics Inc. Joseph Kettell, ASA (201)

Microsoft Excel 2010 Part 3: Advanced Excel

Microsoft Excel 2010 Pivot Tables

Working together with Word, Excel and PowerPoint

Basic Quantitative Analysis: Using Excel to Analyze Your Data

Excel 2010: Create your first spreadsheet

Transcription:

1 Raw Data is Ugly Graphical representations of data always look pretty in newspapers, magazines and books. What you haven t seen is the blood, sweat and tears that it sometimes takes to get those results. But you will! http://www.hockeywidgets.com/newblog/uploaded_images/graph2-775937.jpg 1

http://seatgeek.com/blog/mlb/5-useful-charts-for-baseball-fans-mlbticket-prices-by-day-time http://skepticalsports.com/?p=791 2

The previous examples are informative graphical displays of data. They all started life as bland data sets. 3

2 Pie Charts Pie charts are a visual method for displaying the categories of a collection of data. The size of a slice of the pie chart is proportional to the percentage of data in that category. Example 1 Consider the distribution of hits over the career of Babe Ruth. We visually represent this data in a pie chart. We can label the slices with either the raw numbers of percentages for each category Babe Ruth At Bats Single 1517 Double 506 Triple 136 HR 714 Out 5526 Babe Ruth Statistics Pie chart with raw numbers Pie chart with percentages and wedge labels 4

Example 2 Here we display the number of games played, broken down by team, for Michael Jordan and Nolan Ryan. Michael Jordan Games Played Bulls 930 Wizards 142 Nolan Ryan Games Played Mets 105 Angels 291 Astros 282 Rangers 129 Games played by Team Pie chart of Michael Jordan basketball teams Pie chart of Nolan Ryan baseball teams 5

Example 3 You must be careful not to overload a pie chart with too much detail. The distribution of tiles at the start of a game of Scrabble is given below. This seems like a natural concept to represent with a pie chart. However, once you construct the pie chart for this distribution it is easy to see that too much information is contained in the picture. Letter Frequency Letter Frequency Letter Frequency a 9 j 1 s 4 b 2 k 1 t 6 c 2 l 4 u 4 d 4 m 2 v 2 e 12 n 6 w 2 f 2 o 8 x 1 g 3 p 2 y 2 h 2 q 1 z 1 i 9 r 6 blank 2 Frequencies of Scrabble tiles 3 Importing Data into Excel 2007 It is easy to use Excel 2007 to grab tables of data o the web. Let s say we wish to import the table of Passing statistics of Joe Namath from the pro-footballreference.com website. Joe Namath page at football-reference.com 6

In an Excel 2007 spreadsheet, select the location where you wish to place the table of data. Select the Data tab. Select From Web. Preparing to import data into Excel A new window will pop up. Type in the address of web page that contains the desired data. You can use this window to surf until you nd your destination. Click the yellow arrow beside the desired table. Locating data on the web Click Import. Click Ok. Now you have the table of data in an Excel spreadsheet, ready for use. 7

Ready to use 4 Turning Data into Pie Charts This table includes a lot of statistics and we may only be concerned with certain variables. Let s keep only the variables for Year, Games Played (G), Passes Completed (Cmp), Passes Attempted (Att), Yards (Yds), Touchdowns (TD) and Interceptions (Int). Rather than delete the individual pieces of data, we wish to delete the whole column. To remove the column B which contains Age data, right click B and select delete. You will see that this technique shifts all the data to the left so we are not left with empty columns. Repeat until we have only the desired variables remaining. After the removal of unwanted data Let s construct a pie chart for the number of games Namath played per season. Highlight the years and games played column. Click Insert. Click Pie. 8

Making a pie chart Excel now asks for a style of pie chart. option from the 2-D category. Let s keep it simple and select the rst The initial picture Right now we have a colorful but highly uninformative picture. Let s add labels to our pie slices. With the pie chart selected, click Layout. Click Data Labels. Click Best Fit. This will label each wedge its representative label. Click on the title and expand its description. 9

Adding info Excel provides lots of opportunities for customizing. We might wish to label the wedges with the percentage of the pie it occupies and or include the category name. Right click on any wedge in the pie and select Format Data Labels. Check the boxes for Category Name and Percentage. Our pie chart now has more information. Of course, we may run the risk of a visual that is too crowded to be attractive. Stylistic choices of the pie chart fall into the category of art rather than science. A nished product Next let s create a 3-D chart of touchdowns over the years for Joe Namath. The touchdown column is not beside the years column. It is not di cult to select just those two columns. Highlight the years column. Hold the Ctrl key while highlighting the TD column. Release the Ctrl key and we have selected the two desired columns. Select the 3-D pie. Format the labels with just the legend and percentages. 10

A nished 3-D pie graph Joe Namath played for one team in every season of his career. He never changed teams mid-season. Due to this, his career statistics are very easy to read and well organized. Namath played in a di erent era of sports. Players today frequently change teams in the middle of a season. Consider the career stats of Cli Lee as of May 3, 2011. If we want to created a games played per season pic chart for Cli Lee, we cannot simply import the data into Excel and create the pie chart. If we did so, we would have three pie wedges each for 2009 and 2010. We need to modify the data for our chart. 11

5 Exercises 1. Based on the following pie chart, which KSU student spent the most years playing professional major league baseball? KSU Owls in MLB 2. Import data from www.hockey-reference.com and construct a pie chart for the number of games played broken down by team for hockey great Wayne Gretzky. 3. Import data from www.basketball-reference.com/ and construct a pie chart for the number of games played broken down by team for the shortest man to play in the NBA, Tyrone "Muggsy" Bogues. 4. In week one of the 2010 NFL season, The Houston Texans beat the Indianapolis Colts 34 to 24. Rushing and receiving stats for the game appear below. Rushing Attempts Yards TD Lg Arian Foster 33 231 3 42 Steve Slaton 6 29 0 13 Matt Schaub 3 3 0 1 Receiving Attempts Yards TD Lg Andre Johnson 3 33 0 21 Jacoby Jones 2 29 0 23 Kevin Walter 2 29 1 22 Owen Daniels 1 9 0 9 Arian Foster 1 7 0 7 i. Construct a pie chart for yards passing for the ve Texan receivers. ii. What di culty should you encounter if you attempt to construct a pie chart for yards rushing? What does Excel do? 5. Go to en.wikipedia.org/wiki/poker_probability and construct a pie chart of the frequencies of 5 card poker hands. 12

6. Up to and including the year 2010 create a pie chart by team for the number of championships won in the ABA. Visit www.basketball-reference.com/playo s/ for the data. 7. Up to and including the year 2010 create a pie chart by team for the number of championships won in the NBA. Visit www.basketball-reference.com/playo s/ for the data. 8. Some statistics on Baseball Hall of Fame pitcher Steve Carlton are given below. Steve Carlton Uniform Number 32 Rookie Year 1965 Number of Teams 6 Career Wins 329 Cy Young Awards 4 Complete Games 254 Does it make sense to use a pie chart to represent this data? Quantitative data about Steve Carlton 13