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

1.1 Problem Statement

$speed: rand(30,60)
$speedDiv10: $speed / 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

The table below shows the number of passengers carried by various airlines on domestic flights into or out of the Atlanta Airport during $months 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.

1.2 Step 1

questions

Question 1.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
uweaTLaawtzdked9JhLvmr1tzxHILGnIYaC1ZKt2FR1gEF96VL4uEufJgjbk8Of4t+170qUyGeYdEOvb2tTAVqWpCx5VEiX/sUwVAraAgTPMKN6FncxVd7MyYOMho7+b7hxs/O3Tf/KdAHZzOiLejNqQ4YlPZ2KaFxe0JyO+69hi1PCcZlUpLOe+fPFg5ymNuVQfXTxGYID72WvhVVPp0uXkSNFVtbDw4QB05C5UQNVhYg8SzAJR38Ayvu0=
1
Incorrect.
You've got it.

Question 1.2

Hna8CbohrZLtolHk5SXx6G0SXj10ALtUqjXBnzICdKsiloL6gmw76CjpFwdW6/aqAmyMIRAGHdH//9Z1ApaZi3PEGus9EOnPzjaGfI7bbODSmCIuXkPQDHBpJDa9NUMYj4zNQ2Xfl3brSlnBN8p5OKUDzhs65fyWEC52jpcY01wDn+97R7ZigsCNYOP+5D+vYGbxxjiEuW5pz0tmtcMA+CQLXEzm7LkwHG7SNLyLzku0pLiBBcmRUwfqH3Zh/wGoJncR8qQlWcZ23TI0K34bzc1uJJMkVvPMedD11DHXp9v604M1qnGDdvhrBjmeVyMj3pW798hOq+PvQCoGeZWp0ltJVyUnG/FKCCy1jbA/+bH7SaIcKc3/cJ1+biB+3dR1Gwdqn1fnliCLOArp79PrCmlImrStNzIBfdKyWBKmbdwo8vm01g+cTQmdmHtt23WN+AgUHELvoNa90QasmokDkCmTH+sdft5f
1
Incorrect.
You've got it.

Question 1.3

Clearly, Delta Air Lines is the dominant airline at this airport in terms of number of domestic passengers carried. The other airline with a significantly larger number of passengers than the others is oQDJRdivne41J4Xkq7BnErRiMHc77tF6rmlnqxoBOHDAcYzs3eglju3pwodoXr4wiAqv9A0zfunq2Q0R346+VhhMHxzsSiG0ZBLmskNkAo862/kbaIDgODuPDUs= and the airline shown with the least number is j6KY+Y6Gw1hvasqYUyB7vK40R8OMvaDNvJJMCVNOr1A5NiHuzD8M/u/QR+gKrs4n6PZy+lKEM/wISfgVoAmYR9v/BMGmtQVNwGCnxONEIaBLk+8+fGGL0MVEBpQ=

Note from Adam: We don't have the ability to correctly evaluate the last part of this question. It will need to be re-written.

1
Incorrect.
You've got it.

1.3 Step 2

questions

Question 1.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
KbnivCfQsjAzheKhXXpxAl6D8i1mfBFFO6dW2IrtPTXAvyZ+A5eQqIypb3muxZqavE4DM8OcRuVE2uC6fMSrj2Tu4r2bOoxAuFZAzJsnzJo6WM5dHFnMFu4l61L6fTVT0bx5t2tykJty97dDYAzO7bxBD/nZ5Gj+3ITN+6oFFdGa6iuJHjAGv+0AGvl6s3AaDuDI3O6O0whZOCSF
1
Incorrect.
You've got it.

Question 1.5

Approximately what percent of all passengers were carried by Delta Airlines?

Y5ecNdDRbdU0Hq+LQNkZUpqP48H8M+faWSJwo41hlagWMJWoWX2W5nCexp6rzzU7k06tOCwgJ6il/3NB4rhyxbGSki1EvKypwAxvcDxbT6YZmYjdl2aEascrRlAB+iM/GNa8qX7DHwnW2blpTuy8b/fEL8FsV4Bz

1
Incorrect.
You've got it.

1.4 Step 3

Question 1.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
+zjkOHO4hJ/5o4qHbJF2GFGZ2ZrVQ/Msbk21JBvm41uJuaEmiJ5gZ7m4cAHPcmGj/duPKGxdUVNnKhwXCXTa/q+J/okAFJMBAJiDSQE+VVdB1v5cLyI6W+a98faV7SZWU7fmN784BHKHvNPgfuHFKVpfKlhgzAJWe3g0AC6G4kSjNBWoXUN/kkaWf9zxzUJoyL0utejS9hd8OHWmuyrFE3/dFh9AXryEh/lYv5u1hoPKN1i2vRWrzuUxsMciuQ+dtMoAEO23QSWhG5TBYlk8V17WVqXZP/Yc+fTpbaa7J7Cw35Q9gKOpxn3XWKdrTw7ortz8kQgtDGk2Q66mMMUyKqc4petRljE020aaX+pGhEUXVKefZUlTkwKy55LG1pYIgnXK08fswPURGOW7LJ7J9m9orFR4N4KX
1
Incorrect.
You've got it.

Question 1.7

1lBpml26hZz3kuCwx/gVvll7KySLG3djZulTqrsrcb1784Q+OMIkgZzHorKPWM9Cp+lBraYhwkuCMeusbar6KIQpctseXfQnWvZq5a9VV/g6qcbUHnYtPLmH9YrXmRSHGDktO4U06JqSAD0Zg8rT6NMMqM3oe+y0mXjf5ZRZDP1w+JLpIrRQCh7000UbcbbU9XXz83F57WjFyPJ4aDa3s8PbBL0dtKCjenSr7vlXWmQapYVI0qCJk/OO2UZiXZcQVBR7QxbcpqHUqszUi/wQ953wMTML1HT3mt6LsMuz59DKX8ROB08ngYqQe8/E7M95t2R7J/FM0ss=