Chapter 1. Tutorial 1.2: Creating and interpreting bar charts and pie charts

Problem Statement

null: rand(30,60)
$speedDiv10: null / 10
@months: {March, April, May, June, July}
$monthIndex: rand(0,4)
$month: @months[$monthIndex]
@AirTranPassengersArray: {951713, 972994, 1096753, 1157877, 1187593}
@AmericanAirlinesPassengersArray: {137549, 130274, 136582, 140498, 138654}
@DeltaPassengersArray: { 4817199, 4718221, 4913810, 5024848, 5090391}
@SouthwestPassengersArray: { 103189, 105999, 127197, 148040, 149703}
@UsAirwaysPassengersArray: { 123835, 108203, 111088, 111103, 117829}
@AllOthersPassengersArray: { 1247794, 1132559, 1205596, 1230822, 1218605}
$AirTranPassengers: @AirTranPassengersArray[$monthIndex]
$AmericanAirlinesPassengers: @AmericanAirlinesPassengersArray[$monthIndex]
$DeltaPassengers: @DeltaPassengersArray[$monthIndex]
$SouthwestPassengers: @SouthwestPassengersArray[$monthIndex]
$UsAirwaysPassengers: @UsAirwaysPassengersArray[$monthIndex]
$AllOthersPassengers: @AllOthersPassengersArray[$monthIndex]
$DeltaPassengersDiv10: @DeltaPassengersArray[$monthIndex] / 10
$AirTranPassengersDiv10: @AirTranPassengersArray[$monthIndex] / 10
$AmericanAirlinesPassengersDiv10: @AmericanAirlinesPassengersArray[$monthIndex] / 10
$SouthwestPassengersDiv10: @SouthwestPassengersArray[$monthIndex] / 10
$UsAirwaysPassengersDiv10: @UsAirwaysPassengersArray[$monthIndex] / 10
$AllOthersPassengersDiv10: @AllOthersPassengersArray[$monthIndex] / 10
$DeltaPassengersDiv2: @DeltaPassengersArray[$monthIndex] / 2
$AirTranPassengersDiv2: @AirTranPassengersArray[$monthIndex] / 2
$AllOthersPassengersDiv2: @AllOthersPassengersArray[$monthIndex] / 2
$SouthwestPassengersMult4: @SouthwestPassengersArray[$monthIndex] * 4
$AmericanAirlinesPassengersMult4: @AmericanAirlinesPassengersArray[$monthIndex] * 4
$UsAirwaysPassengersMult4: @UsAirwaysPassengersArray[$monthIndex] * 4
$DeltaPercentage: round($DeltaPassengers / ($UsAirwaysPassengers + $AirTranPassengers + $AmericanAirlinesPassengers + $DeltaPassengers + $SouthwestPassengers + $AllOthersPassengers) * 100, 0)
$DeltaPercentageAlt1: $DeltaPercentage + 5
$DeltaPercentageAlt2: $DeltaPercentage - 5
$DeltaPercentageAlt3: $DeltaPercentage + 15
$DeltaPercentageAlt4: $DeltaPercentage -10
$AllOthers2: $SouthwestPassengers + $AmericanAirlinesPassengers + $UsAirwaysPassengers + $AllOthersPassengers
$AirTranMult2: $AirTranPassengers * 2
$AllOthersMult2: $AllOthersPassengers * 2
$AllOthers2Div2: $AllOthers2 / 2

Series circuits have the components on the same line and if any one fails, the entire circuit does not work (similar to old fashion Christmas lights). Consider the series circuit below with different colored lights. The probability that a bulb fails during the holiday season varies by color with P(failure for red) = $probability ; P(failure for green)=0.60; P(failure for blue) = 0.70. Each bulb fails independently of the other bulbs.

[CJS1]Dynamic. Vary between 0.30 to 0.50 by 0.05. Don’t let two entries be “symmetric” about 0.5 because then some of the answers below will be duplicates.

The table below shows the number of passengers carried by various airlines on domestic flights into or out of the Atlanta Airport during $month 2012. The five airlines with the most passengers are shown separately, and all other airlines are combined.

Airline Number of Passengers
AirTran Airways $AirTranPassengers
American Airlines $AmericanAirlinesPassengers
Delta Air Lines $DeltaPassengers
Southwest Airlines $SouthwestPassengers
US Airways $UsAirwaysPassengers
All Others $AllOthersPassengers
Table : Source: Department of Aviation, Hartsfield-Jackson Atlanta International Airport

Construct, interpret, and compare bar charts and pie charts to show the airline passenger data.

Step 1

questions

Question 1

Use the charts below to answer the question that follows.

A

[ [$AirTranPassengers, $AmericanAirlinesPassengers,$DeltaPassengers, $SouthwestPassengers, $AllOthersPassengers] ]

["AirTran <br/> Airways","American <br/> Airlines", "Delta <br/> Air Lines","Southwest <br/> Airlines", "US Airways"]

500px
200px

B

[ [ $AirTranPassengersDiv10, $AmericanAirlinesPassengers ,$DeltaPassengersDiv10, $SouthwestPassengers, $UsAirwaysPassengers] ]

["AirTran <br/> Airways","American <br/> Airlines", "Delta <br/> Air Lines","Southwest <br/> Airlines", "US Airways"]

500px
200px

C

[ [ $DeltaPassengers, $AirTranPassengers, $AllOthersPassengers, $AmericanAirlinesPassengers ,$UsAirwaysPassengers] ]

["Delta <br/> Air Lines", "AirTran <br/> Airways", "Southwest <br/> Airlines","American <br/> Airlines", "US Airways"]

500px
200px

D

[ [$DeltaPassengers, $AirTranPassengers, $SouthwestPassengers, $AmericanAirlinesPassengers, $UsAirwaysPassengers] ]

["Delta <br/> Air Lines", "AirTran <br/> Airways", "Southwest <br/> Airlines", "American <br/> Airlines", "US Airways"]

500px
200px

E

[ [$DeltaPassengersDiv10, $AirTranPassengers, $SouthwestPassengers, $AmericanAirlinesPassengers, $UsAirwaysPassengers] ]

["Delta <br/> Air Lines", "AirTran <br/> Airways", "Southwest <br/> Airlines", "American <br/> Airlines", "US Airways"]

500px
200px

Which bar chart correctly shows the passenger data for the top 5 airlines only?

A.
B.
C.
D.
E.

500px
200px

Step 2

questions

Question 4

A

[ [ ["Delta Air Lines",$DeltaPassengers],["AirTran Airways",$AirTranPassengers], ["Southwest Airlines", $SouthwestPassengers],["American Airlines",$AmericanAirlinesPassengers] , ["US Airways", $UsAirwaysPassengers], ["All Others", $AllOthersPassengers ]]]

400px
300px
pie
5

B

[ [ ["Delta Air Lines",$DeltaPassengersDiv2],["AirTran Airways",$AirTranPassengersDiv2], ["Southwest Airlines", $SouthwestPassengers],["American Airlines",$AmericanAirlinesPassengers] , ["US Airways", $UsAirwaysPassengers], ["All Others", $AllOthersPassengers ]]]

400px
300px
pie
5

C

[ [ ["Delta Air Lines",$DeltaPassengers],["AirTran Airways",$AirTranPassengersDiv2], ["Southwest Airlines", $SouthwestPassengers],["American Airlines",$AmericanAirlinesPassengers] , ["US Airways", $UsAirwaysPassengers], ["All Others", $AllOthersPassengersDiv2 ]]]

400px
300px
pie
5

D

[ [ ["Delta Air Lines",$DeltaPassengers],["AirTran Airways",$AirTranPassengers], ["Southwest Airlines", $SouthwestPassengersMult4],["American Airlines",$AmericanAirlinesPassengersMult4] , ["US Airways", $UsAirwaysPassengersMult4], ["All Others", $AllOthersPassengers ]]]

400px
300px
pie
5

Which of the following pie charts represents the airline passenger data?

A.
B.
C.
D.
E.

400px
300px
pie
5

Step 3

Question 6

A

[ [ ["Delta Air Lines",$DeltaPassengers],["AirTran Airways",$AirTranMult2], ["All Others", $AllOthersMult2]]]

400px
300px
pie
5

B

[ [ ["Delta Air Lines",$DeltaPassengers],["AirTran Airways",$AirTranPassengersDiv2], ["All Others", $AllOthers2Div2]]]

400px
300px
pie
5

C

[ [ ["Delta Air Lines",$DeltaPassengers],["AirTran Airways",$AirTranPassengers], ["All Others", $AllOthers2]]]

400px
300px
pie
5

D

[ [ ["Delta Air Lines",$DeltaPassengers],["AirTran Airways",$AirTranPassengers], ["All Others", $AllOthersPassengers]]]

400px
300px
pie
5

Suppose we only want to show how the top 2 airlines compare to all others combined. Construct a pie chart with only 3 categories—Delta, AirTran, and All Others. Which of the following pie charts represents the given passenger data correctly?

A.
B.
C.
D.

400px
300px
pie
5