1 / 15

LSP 120

LSP 120. Creating Graphs. The Graphs We Will Use. Pie graphs Bar / column graphs Line graphs XY scatter graphs. But…. Each graph works best in a particular situation You need to decide which is best

zeph-larson
Download Presentation

LSP 120

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. LSP 120 Creating Graphs

  2. The Graphs We Will Use • Pie graphs • Bar / column graphs • Line graphs • XY scatter graphs

  3. But… • Each graph works best in a particular situation • You need to decide which is best • Some will work, some won’t work, there is usually one really good choice, there are often some really bad choices • Let’s look at each graph choice

  4. Pie Charts • You must have all the data in order to use a pie chart • For example, if you are graphing choices of cookies, and the only data you have is: • Oreo 235 million units sold • Chips Ahoy 211 million units sold • Lorna Doone 145 million units sold

  5. Pie Charts • Don’t make a pie chart like this: • What is wrong with this graph?

  6. Pie Graphs • Secondly, make sure the data does not overlap • Consider the following data: • DSL users 26% • Cable modem users 19% • Dial up users 32% • None 23% • Total 100%

  7. Pie Graphs • Note: there is no title on this graph

  8. Pie Graphs • Finally, don’t make a pie with too many slices Look at EnergyConsumption.xls

  9. Bar / Column Charts • Bar / column charts are good when you want to show “amounts” or “levels” of something • For example, four different cities each have a value for the number of traffic accidents: • Chicago 3211 accidents • Detroit 2210 accidents • St. Louis 1349 accidents • Fort Wayne 832 accidents

  10. Bar / Column Charts Look at HomeHeating.xls

  11. XY Scatter Graphs / Line Graphs • These graphs are best at showing how one type of data input changes one output • For example, how as time changes, the sales have gone up • Or, as a person’s height increases, so does their weight • Or, as you drink more drinks, the more drunk you will get

  12. XY Scatter Graphs / Line Graphs

  13. XY Scatter Graphs / Line Graphs • Be careful: A line graph will not treat the first column as X-axis labels; it will treat it as a series of data • Look at Headstart Per Child.xls

  14. Describing Graphs • You should know how to “describe” a graph • Is the graph/data increasing? Decreasing? Flat? Cyclic or periodic? • What is the global or absolute maximum? Minimum? • What is a local or relative maximum? Minimum?

  15. Faulty Graphs • Let’s look at some “faulty” graphs • http://qrc.depaul.edu/djabon/gallery.htm

More Related