DataViz - 1e - Ch02 - PowerPoint 2
DataViz - 1e - Ch02 - PowerPoint 2
1e
Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
website, in whole or in part.
                            Chapter Objectives
After completing this chapter, you will be able to:
   LO 2.1      Create charts and graphs using Excel
   LO 2.2      Edit charts and graphs created using Excel
   LO 2.3      Select an appropriate chart type for a given goal and data type
   LO 2.4      Glean insights from charts and graphs
   LO 2.5      Describe which chart types should be avoided and why
               Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
               Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
               website, in whole or in part.
                       Data Visualization Makeover
A pie chart showing the NYC budget allocation               A bar chart showing the NYC budget allocation
                     Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
                     Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
                     website, in whole or in part.
             2.1 Selecting an Appropriate Chart
Some of the common goals for charts are to show the following:
• The composition – the breakdown of a whole entity into its components.
• The ranking – is the ordering of items in order of contextual importance.
• The relationship – is the identification of patterns existing between pairs of
  variables.
• The distribution – is the dispersion of components of a whole entity.
                 Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
                 Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
                 website, in whole or in part.
  2.2 Creating a Chart in Excel
           The following steps show how to create a column chart in Excel using the
             data in the file Zoo.
           • Step 1. Select cells A1:B13
           • Step 2. Click the Insert tab on the Ribbon
           • Step 3. Click the Insert Column or Bar Chart button in the Charts group
           • Step 4. When the list of column and bar charts subtypes appears, click
             the Clustered Column button
           In Excel, the horizontal axis on the chart generally represents the leftmost
           column of data.
           The assignment of data to the horizontal and vertical axes can be switched
           by right-clicking on the chart, choosing Select Data Source, and on the
           Select Data Source dialog box, click on Switch Row/Column.
           To create a chart using nonadjacent columns of data in Excel, select the
           leftmost column you wish to include in the chart, press and hold down the
           control key (Ctrl), select the other columns of data you want to include.
Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
website, in whole or in part.
                  2.2 Editing a Chart in Excel
Step-by-step instructions on how to improve the chart shown to the left
so that it appears as shown to the right are shown in the notes.
               Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
               Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
               website, in whole or in part.
       2.3 Build a Scatter Chart
Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
website, in whole or in part.
   2.3 Interpret a Scatter Chart
Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
website, in whole or in part.
       2.3 Build a Bubble Chart
                                                                 The following steps show how
                                                                 to create a bubble chart in
                                                                 Excel using the data in the file
                                                                 AirportData.
                                                                      Step 1. Select cells B1:D16
                                                                      Step 2. Click the Insert tab on
                                                                      the Ribbon
                                                                      Step 3. Click the Insert
                                                                      Scatter (X,Y) or Bubble
                                                                      Chart button in the Charts
                                                                      group
                                                                      Step 4. When the list chart
                                                                      subtypes appear, click the
                                                                      Bubble button. Then, edit the
                                                                      chart as outlined in Section
                                                                      2.2.
Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
website, in whole or in part.
   2.3 Interpret a Bubble Chart
Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
website, in whole or in part.
        2.3 Edit a Bubble Chart
                                                You can use the following steps to change
                                                the variable assignments to the x-axis, y-
                                                axis, and bubbles:
                                                      Step 1. Right-click on any bubble
                                                      Step 2. Click on Select Data…
                                                      Step 3. When the Select Data Source
                                                      dialog box appears, click the Edit button
                                                      under Legend Entries (Series)
                                                      Step 4. Enter the location of the data
                                                      you want to correspond to the horizontal
                                                      values in the Series X values: box.
                                                      Note: do not include column headers.
                                                      Step 5. Repeat Step 4 for the Series Y
                                                      Values: box and Series bubble size:
                                                      box and click OK
Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
website, in whole or in part.
                  2.4 Line Charts
Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
website, in whole or in part.
           2.4 Build a line Chart
Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
website, in whole or in part.
        2.4 Multiple-Line Charts
Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
website, in whole or in part.
2.4 Build a Multiple-Line Chart
Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
website, in whole or in part.
              2.4 Column Charts
Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
website, in whole or in part.
        2.4 Edit a Column Chart
Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
website, in whole or in part.
 2.4 Clustered Column Charts
Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
website, in whole or in part.
   2.4 Stacked Column Charts
Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
website, in whole or in part.
                                    2.4 Bar Charts
• All column charts, clustered and stacked alike, can also be represented
  horizontally as bar charts.
• A bar chart may be preferable over the corresponding column chart when
  there are lengthy category names that are easier to display horizontally.
• For time series data, a column chart provides for a more natural display of
  the passage of time horizontally, from left to right.
• To build a bar chart, follow the same steps used for a column chart earlier in
  this section, but on step 4 select Clustered Bar or Stacked Bar instead.
                 Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
                 Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
                 website, in whole or in part.
           2.5 Choropleth Maps
Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
website, in whole or in part.
   2.5 Build a Choropleth Map
                                              A choropleth map is a geographic map that
                                              uses colors or symbols to indicate aggregate
                                              measures or statistics by geographic region.
                                              The following steps show how to create a
                                              choropleth map in Excel using the data in the
                                              file StatePopulation.
                                                    Step 1. Select cells A1:B51
                                                    Step 2. Click the Insert tab on the
                                                    Ribbon
                                                    Step 3. In the Charts group, click the
                                                    Maps button
                                                    Step 4. Select Filled Map
                                              Then edit the chart as outlined in Section 2.2.
Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
website, in whole or in part.
2.5 Choropleth Maps for Categorical Data
     Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
     Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
     website, in whole or in part.
                    2.5 Heat Maps
Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
website, in whole or in part.
             2.5 Build a Treemap
Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
website, in whole or in part.
                                2.5 Hierarchy of a Treemap
The Hierarchical Tree Structure of the Top Ten Brand Values Data
                                                                         Top 10 Brand Values
     Company            Apple Google Microsoft Amazon Facebook Samsung               Coca-Cola             Disney           Toyota               McDonald's
Value (in $ Billions)   205.5   167.7   125.3   97      88.9      53.1                 59.2                 52.2                 44.6                43.8
                          Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
                          Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
                          website, in whole or in part.
              2.5 Edit a Treemap
Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
website, in whole or in part.
                             2.6 Tables versus Charts
Table Showing Exact Values for Costs and Revenues by Month
for Gossamer Industries
                                   Month
                Jan    Feb    Mar      Apr    May    June    Total   Tables should be used when:
Costs (in $)    48,123 56,458 64,125   52,158 54,718  50,985 326,567 1. The reader needs to refer to specific
Revenues (in $) 64,124 66,125 67,125   48,178 51,785  55,678 353,015
                                                                         numerical values
Line Chart of Monthly Costs and Revenues                             2. The reader needs to make precise
                                                                         comparisons between different
                                                                         values and not just relative
                                                                         comparisons
                                                                     3. The values being displayed have
                                                                         different units or very different
                                                                         magnitudes
                       Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
                       Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
                       website, in whole or in part.
2.6 Combined Line Charts and Tables
                                                     The following steps show how to create a
                                                     combined line chart and table in Excel using
                                                     the data in the file Gossamer.
                                                          Step 1. Select cells A2:G4
                                                          Step 2. Click the Insert tab on the
                                                          Ribbon
                                                          Step 3. Click the Insert Line or Area
                                                          Chart button in the Charts group
                                                          Step 4. When the list of column and bar
                                                          charts subtypes appears, click the Line
                                                          button
                                                          Step 5. Click anywhere on the chart
                                                               Click the Chart Elements button
                                                               Select the check box for Data
                                                               Table, and edit the chart as
                                                               outlined in Section 2.2.
   Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
   Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
   website, in whole or in part.
                                  2.7 Waterfall Charts
GossamerGP data file for Gossamer                     A waterfall chart for the gossamer gross profit
costs, revenues, and gross profit                     data
                     Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
                     Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
                     website, in whole or in part.
                                       2.7 Stock Charts
Verizon stock price data file A high-low-close stock chart for Verizon Wireless
                      Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
                      Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
                      website, in whole or in part.
                                        2.7 Funnel Charts
  DataScienceSearch data for hiring                           A funnel chart for Data Scientist hiring
                         Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
                         Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
                         website, in whole or in part.
            2.8 Guidelines for Selecting a Chart
Chart                     Relationship         Distribution         Composition            Ranking
Scatter
Bubble
Line
Stock
Column
Bar
Heat Map
Choropleth Map
Stacked Bar
Stacked Column
Treemap
Waterfall
Funnel
                 Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
                 Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
                 website, in whole or in part.
                                 2.8 Charts to Avoid
• Here is a summary of some types of charts data visualization experts agree should be
  avoided:
   • To visualize the contribution of each category to a whole entity, use a pie chart in which
     the slices represent each category contribution.
   • When there are more than a few categories, pie charts tend to be cluttered and hard to
     interpret. Consider us a bar chart instead.
       • Science has shown that we are better at determining differences in length than angle
          and area. The bar chart makes it much easier to tell which category has the larger
          allocation.
       • Color should only be used to distinguish between categories when necessary. For
          the bar chart, color is not needed, as the length of the bars is used to quantify
          allocation by category.
       • In a horizontal bar chart, the category labels, a few of which are rather lengthy, are
          easier to read.
   • Avoid combo charts and 3D representations of a 2D chart.
                    Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
                    Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
                    website, in whole or in part.
                       2.8 Charts to Avoid – Radar Chart
NewtonSupplier data file for a component                 Better choice: a clustered column chart of supplier
performance                                              performance for a component for Newton Industries
                           Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
                           Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
                           website, in whole or in part.
                2.8 Charts to Avoid – Area Chart
An area chart for the Cheetah Sports                  Better choice: a multiple line chart for the
regional sales data                                   Cheetah Sports regional sales data
                 Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
                 Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
                 website, in whole or in part.
         2.8 Excel’s Recommended Charts Tool
The Insert Chart task pane for the Zoo Attendance data
               Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
               Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
               website, in whole or in part.
                           Discussion Activity 1
• Consider the New York City Budget Allocation case shown in the Data
  Visualization Makeover for this chapter shown in slide 2.
   • Give two reasons why the bar chart shown in the Data Visualization
     Makeover example makes for a better choice than a pie chart to visualize
     the New York City funds allocation.
   • Why would you choose a bar chart over a column chart to visualize the
     New York City funds allocation?
                Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
                Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
                website, in whole or in part.
                           Discussion Activity 2
                Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
                Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
                website, in whole or in part.
                            Check Your Knowledge
2. To achieve the colored and shading effect for a heat map in Excel, use the options in the
   _______ menu.
    a.   Format Data Labels
    b.   Chart Options
    c.   Conditional Formatting
    d.   Insert Chart
                    Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
                    Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
                    website, in whole or in part.
                                          Summary
                 Camm, Cochran, Fry & Ohlmann, Data Visualization - Exploring and Explaining with Data, 1st Edition. © 2021
                 Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible
                 website, in whole or in part.