

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


The instructions for this lab were fairly complex. Students who did not complete the assignment in lab may therefore run into difficulties. Here’s my best effort to help remotely. First, you are allowed to work in pairs for this assignment. Two heads may be better than one. If you work in larger groups to get the maps to work, create separate visualization sheets and Tableau workbooks for each pair to turn in. State the members of your pair. Here is a link to the files for this lab:http://courses.washington.edu/info424/mapLab/ For both map types, the Tableau workbook Election maps.twb provides an important example. To use this workbook, you will need to specify your stored file location of Election.xls (twice) and possibly also the image file us-125-66+25+50.png. The Excel file Election.xls contains three sheets: a. States is data to create a chloropleth map of most of the US. It contains the long, lat vertices of about 50 polygons for the states in the contiguous 48 states (for example, Michigan (MI) has two separate polygons), keyed by state abbreviation. b. Location is data for use with a background map such as us-125-66+25+50.png , again keyed by state abbreviation. It contains the long, lat values of a suitable point inside each state boundary for the placement of a proportional symbol and label. The values in yellow have been hand-edited to improve their location. A few states, such as Maine (ME) should still have improvements of this kind made if you want to use this map in your project. c. Election is election data from the 2000 US presidential election and some other state information, again keyed by state abbreviation. The Tableau workbook Election maps.twb contains two sheets: a. Sheet 1 contains a chloropleth map of the US showing popular vote differential by state for Gore (blueish hues) and Bush (reddish hues). To see how it is constructed, use Reset Cards in the View menu in the toolbar. The Marks: Polygon and Level of Detail: PolygonID fields are crucial, as well as the Longitude and Latitude fields on the Column and Row shelves. The coloring for the map is based on a calculated field called difference. You will change the contents of the Color shelf to make your chloropleth map. Notice also that Sheet 1 uses TWO of the sheets from the Excel file, Election and States , so Dimensions from both of those sheets appear in the Data area. It uses the States sheet to draw the polygons and the Election sheet to provide the data to color it.
You can add another sheet (Table) to a Tableau sheet by right-clicking on the name of a sheet (Table) that you are already connected to and selecting the Tables… menu item. This brings up a dialog box to add another table, which is done by joining multiple sheets (Tables) together. You can also use the dialog box to view the current setting for this Table by selecting Edit… The State abbreviation field in each sheet is used to join these sheets. b. Sheet 2 contains a proportional symbol map version of the same data. The Marks: Circle , the Text: State fields, and the Location_x and Location_y fields on the Column and Row shelves specify placement of the marks on the map. The background map itself is the file us-125-66+25+50.png. Note that in this sheet both color and size show the data. The calculated field absdiff creates the absolute value of the difference so that the size will not be negative for Bush votes. Sheet 2 again uses TWO sheets from the Excel file, this time Election and Location. Now for completing Assignment 5, Tableau Maps Lab (see the course Schedule page). To use the chloropleth map for our survey data in problem 2, you must create a new Excel file like the Election.xls file, except that it will contain our survey data as a Survey sheet instead of the Election sheet. You might as well do that at this point so that you can put everything together neatly in one Tableau workbook.