LAB 01: BAR AND LINE CHARTS February 3, 2015 SDS 136 Communicating with Data.

Slides:



Advertisements
Similar presentations
Unit 8: Presenting Data in Charts, Graphs and Tables
Advertisements


Histograms! Histograms group data that is close together into “classes” and shows how many or what percentage of the data fall into each “class”. It.
Analyzing Data (C2-5 BVD) C2-4: Categorical and Quantitative Data.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 2 Exploring Data with Graphs and Numerical Summaries Section 2.2 Graphical Summaries.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Lecture Slides Elementary Statistics Eleventh Edition and the Triola.
Histograms. Definition of a Histogram A Histogram displays a range of values of a variable that have been broken into groups or intervals. Histograms.
Histogram Most common graph of the distribution of one quantitative variable.
Probability and Statistics Dr. Saeid Moloudzadeh Frequency table and graphs 1 Contents Descriptive Statistics Axioms of Probability Combinatorial.
Organizing and Presenting Data
Statistics Lecture 2. Last class began Chapter 1 (Section 1.1) Introduced main types of data: Quantitative and Qualitative (or Categorical) Discussed.
Frequency Distributions Chapter 3 Homework: 1, 2, 3, 12.
Sexual Activity and the Lifespan of Male Fruitflies
Presentation of Data.
The Stats Unit.
AP Statistics Day One Syllabus AP Content Outline Estimating Populations and Subpopulations.
Histogram A frequency plot that shows the number of times a response or range of responses occurred in a data set.
Frequency Distributions and Graphs
Charts and Graphs V
CMPT 880/890 Writing labs. Outline Presenting quantitative data in visual form Tables, charts, maps, graphs, and diagrams Information visualization.
Quantitative Skills 1: Graphing
Graphs Graphs are used to display data. They visually represent relationships between data. All graphs should have a title that identifies the variables.
Statistical Reasoning for everyday life
CS1100: Computer Science and Its Applications Creating Graphs and Charts in Excel Martin Schedlbauer, Ph.D.
 Frequency Distribution is a statistical technique to explore the underlying patterns of raw data.  Preparing frequency distribution tables, we can.
Chapter 2 Organizing Data Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
Graphing Why? Help us communicate information : Visual What is it telling your? Basic Types Line Bar Pie.
EXPLORING DATA LESSON 1 – 1 Day 2 Displaying Distributions with Graphs Displaying quantitative variables.
Graphing Data in Science Looking for a pattern. Why use a graph? Easier to analyze data Visualize patterns in the data Looks for trends.
Copyright © 2014 Pearson Education. All rights reserved Picturing Distributions of Data LEARNING GOAL Be able to create and interpret basic.
1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 3 Graphical Methods for Describing Data.
Unit 4 Statistical Analysis Data Representations.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
Applied Quantitative Analysis and Practices
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 1 Exploring Data 1.2 Displaying Quantitative.
Understanding Basic Statistics
Histograms Lecture 18 Sec Tue, Feb 17, 2004.
Copyright © 2014 Pearson Education. All rights reserved Picturing Distributions of Data LEARNING GOAL Be able to create and interpret basic.
LAB 03: SCATTERPLOTS February 10, 2015 SDS 136 Communicating with Data.
Histograms Lecture 14 Sec Wed, Sep 29, 2004.
Statistics - is the science of collecting, organizing, and interpreting numerical facts we call data. Individuals – objects described by a set of data.
A histogram is a special type of bar graph used to display numerical data that has been organized into intervals. The heights of the bars show the number.
Slide Copyright © 2009 Pearson Education, Inc. Ch. 3.1 Definition A basic frequency table has two columns: One column lists all the categories of.
Copyright © 2009 Pearson Education, Inc. 3.2 Picturing Distributions of Data LEARNING GOAL Be able to create and interpret basic bar graphs, dotplots,
Data Representation: Making Tables & Graphs. Data Tables.
1.2 Displaying Quantitative Data with Graphs.  Each data value is shown as a dot above its location on the number line 1.Draw a horizontal axis (a number.
The Diminishing Rhinoceros & the Crescive Cow
Tennessee Adult Education 2011 Curriculum Math Level 3
ANATOMY OF A BAR CHART: Simple Bar Chart
Probability & Statistics Displays of Quantitative Data
3.2 Picturing Distributions of Data
Unit 4 Statistical Analysis Data Representations
Graphing Data.
Charts and Graphs V
Lab 04: Visualizing Multiple Variables
QM222 A1 Visualizing data using Excel graphs
Analyzing One-Variable Data
recap Individuals Variables (two types) Distribution
Tell a Story with the Data
CHAPTER 1: Picturing Distributions with Graphs
Statistical Tables and Graphs
CHAPTER 1 Exploring Data
Analyzing One-Variable Data
Sexual Activity and the Lifespan of Male Fruitflies
CHAPTER 1 Exploring Data
Graphing Data.
Statistical Reasoning
CHAPTER 1 Exploring Data
Understanding Basic Statistics
Histograms.
Presentation transcript:

LAB 01: BAR AND LINE CHARTS February 3, 2015 SDS 136 Communicating with Data

Announcements 1/2 Feb 6-7 in Davis Ballroom Hosted by “Smithies in CS” $3800 in prizes Details available at: hackatsmith.org

Announcements 2/2 Start: Feb. 5; 6:00 PM End: Feb. 7, 1:00 PM 16th floor of LGRT, Room VTA

Outline Bar charts and line charts - Definitions - Variations - What gets encoded? - Pros and cons - Questions to ask - Things to watch out for Lab 2: Building bar and line charts in Tableau

What visualization techniques do we know?

Bar chart Definition: a visualization that uses either horizontal or vertical bars to show comparisons among categories One axis shows a quantitative value The other axis shows the classes (nominal or ordinal) being compared

Variations: vertical Discrete “bins” along the horizontal (x) axis Height of bar indicates the total value for each bin Note: each data point falls into just one category (why is this important?)

Variations: horizontal Discrete “bins” along the vertical (y) axis Width of bar indicates the total value for each bin Note: each data point falls into just one category (why is this important?)

Variations: histogram Presents continuous data broken into bins In theory, we could see any value in the range Often have minimal spacing between bars to help show the “shape”

Variations: grouped Each category is split into sub-categories Bars in the same top-level category are adjacent to one another Note: each category is split into the same sub- categories, and they appear in the same order (why is this important?)

Variations: stacked Each category is split into sub-categories Bars in the same top-level category are stacked on top of one another Note: each category is split into the same sub- categories, and they appear in the same order (why is this important?) Can also stacking to show part-of-whole relationships

What gets encoded Minimum value (shortest bar) Maximum value (tallest bar) Range (difference b/t tallest and shortest bars) Use reference lines to show average value

Pros and cons What’s good about bar charts? What’s not so good?

Questions to ask Examine the data to figure out how many different categories you have Use this to draw the bars (don’t forget labels!) How many categories? Examine the data to identify the category with the largest value Use this value to scale your bars, and to space out the tick marks What’s the range? The bars can be arranged in any order; they each tell a different story Just remember: if you have subcategories, they should always appear in the same order What’s the order?

Things to watch out for

Inconsistent scales: if you’re comparing between two or more charts, be sure they have the same scale!

Things to watch out for

Inconsistent intervals: if you’re comparing between two or more charts, be sure they’re divided the same way!

Recap: bar charts Generally used for comparable variables Shows quantitative values for different observations Highlights relative amounts Grouped/stacked bars can break variables into different sub-groups

Line chart Definition: a visualization that uses lines to show changes in continuous data Vertical axis shows the dependent variable Horizontal axis shows the independent variable

Variations: time series Most commonly appearing line charts in practice Used to show data that changes over time

Variations: multiple independent lines Compare changes across multiple categories Use a legend to help distinguish between categories Important: if you’re showing multiple trends, they should all have the same scale (why?)

What gets encoded Maximum value (tallest peak) Minimum value (lowest valley) Use trend lines to show overall rate of change Highlights position changes

Pros and cons What’s good about line charts? What’s not so good?

Questions to ask Examine the data to figure out how you want to aggregate the samples Use this to draw the tick marks for the independent axis (don’t forget labels!) What’s the right granularity? Examine the data to identify the largest value Use this value to scale your axes, and to space out the tick marks on the dependent axis What’s the range? You can use multiple lines to compare multiple trends Just remember: if you have multiple lines, they should always have the same scale Multiple trends to compare?

Things to watch out for Intervals should always be equal in size If there are missing values, indicate it - But we should only connect values that are adjacent - How might we show missing values?

Things to watch out for Beware comparisons that have different scales!

Recap: line charts Shows the trend in one variable, usually over time Multiple lines can show multiple variables, or the same variable for multiple observations (must have the same scale!) Highlights “position switches”

Questions?

Lab 2: bar and line charts Instructions for today’s lab are available at:

Up next Assignment 1 has been posted - A1 Piazza post will be due Wednesday Feb. 10 by 11:59pm - Submission instructions are included with the assignment Monday: visualization fundamentals pt. 2