LSP 120The Graphs We Will UseBut…Pie ChartsSlide 5Pie GraphsSlide 7Slide 8Bar / Column ChartsSlide 10XY Scatter Graphs / Line GraphsSlide 12Slide 13Describing GraphsFaulty GraphsCreating GraphsPie graphsBar / column graphsLine graphsXY scatter graphsEach graph works best in a particular situationYou need to decide which is bestSome will work, some won’t work, there is usually one really good choice, there are often some really bad choicesLet’s look at each graph choiceYou must have all the data in order to use a pie chartFor 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•Don’t make a pie chart like this:•What is wrong with this graph?Secondly, make sure the data does not overlapConsider the following data:◦DSL users 26%◦Cable modem users 19%◦Dial up users 32%◦None 23%◦Total 100%Note: there is no title on this graphFinally, don’t make a pie with too many slicesLook at EnergyConsumption.xlsBar / column charts are good when you want to show “amounts” or “levels” of somethingFor 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 accidentsLook at HomeHeating.xlsThese graphs are best at showing how one type of data input changes one outputFor example, how as time changes, the sales have gone upOr, as a person’s height increases, so does their weightOr, as you drink more drinks, the more drunk you will getBe careful: A line graph will not treat the first column as X-axis labels; it will treat it as a series of dataLook at Headstart Per Child.xlsYou 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?Let’s look at some “faulty”
View Full Document