{"id":2038,"date":"2022-10-17T00:10:32","date_gmt":"2022-10-17T07:10:32","guid":{"rendered":"https:\/\/murrowcourses.com\/graphics\/?p=2038"},"modified":"2022-10-16T22:36:59","modified_gmt":"2022-10-17T05:36:59","slug":"choropleth-maps-in-tableau","status":"publish","type":"post","link":"https:\/\/murrowcourses.com\/graphics\/choropleth-maps-in-tableau\/","title":{"rendered":"Choropleth Maps in Tableau"},"content":{"rendered":"<p>In this assignment, you\u2019ll map liquor licenses for the entire state. Instead of using point data to represent the location of every establishment licensed to sell alcohol, we\u2019ll aggregate the data by county and create a choropleth map.<\/p>\n<p><em>Note that this is assignment is split into two parts to make it easier to split up the work throughout the week. However, you will submit the materials together as one assignment.<\/em><br \/>\n<!--\n\n<div>\n<em>Note that this is assignment is split into two parts, which you will submit separately.<\/em>\n<\/div>\n\n--><\/p>\n<p><span class=\"header\">Part 1: Organizing the Data<\/span><\/p>\n<p>1. You\u2019re going to be collecting several files for this assignment, so it\u2019s a good idea to create an assignment folder where you can keep all the raw data.<\/p>\n<p>2. First, we need the list of all establishments licensed to serve alcohol in Washington state. The <strong>Washington State Liquor and Cannabis Board<\/strong> maintains this information and regularly publishes an Excel file with all licenses. (This is the same data we used in the previous assignment, but this time we\u2019ll be using the full spreadsheet provided by the state agency, and only for on-premise licenses.)<\/p>\n<p>Download the spreadsheet called <strong>\u201cOn-Premises Licensees\u201d<\/strong> from the WSLCB Frequently Requested Lists page: <a href=\"http:\/\/lcb.wa.gov\/records\/frequently-requested-lists\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/lcb.wa.gov\/records\/frequently-requested-lists<\/a><\/p>\n<div id=\"attachment_2040\" style=\"width: 796px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2040\" class=\"wp-image-2040 size-full\" src=\"https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-wslcb-data.jpg\" alt=\"\" width=\"786\" height=\"326\" srcset=\"https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-wslcb-data.jpg 786w, https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-wslcb-data-300x124.jpg 300w, https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-wslcb-data-768x319.jpg 768w\" sizes=\"auto, (max-width: 786px) 100vw, 786px\" \/><p id=\"caption-attachment-2040\" class=\"wp-caption-text\">The Washington State Liquor and Cannabis Board publishes a number of frequently updated lists and datasets.<\/p><\/div>\n<p>3. Open the spreadsheet in Google spreadsheets or Excel. (These instructions will show Google spreadsheets, but either one should work similarly.) Scroll down and note that there are <em>a lot<\/em> of rows.<\/p>\n<p>4. Some businesses have multiple licenses, but we only want to show each location once. Going through this spreadsheet to delete duplicates one at a time would be extraordinarily time-consuming. <em>Please do not do this.<\/em> Instead, we\u2019ll use a formula to identify duplicates and then filter them out.<\/p>\n<ul>\n<li><a href=\"https:\/\/support.google.com\/docs\/answer\/54813?co=GENIE.Platform%3DDesktop&#038;hl=en\" rel=\"noopener noreferrer\" target=\"_blank\">Insert a new column<\/a> to the right of the \u201cLicense Number\u201d column.<\/li>\n<li>Give the column a header such as \u201cDuplicate Check.\u201d<\/li>\n<li>In the first cell, use this conditional formula to check whether the first row has the same license number as the second row: <code>=if(B2=B3,\"Duplicate\", \"\")<\/code> (This formula assumes the license number is in Column B. If it&#8217;s not, change the B&#8217;s in the formula to the correct column.)<\/li>\n<li>At first, it may look like nothing happened. But that\u2019s because the cell remains empty as long as the license number is unique (not a duplicate).<\/li>\n<li>Click on the cell that contains the formula so it appears outlined with a tiny square in the bottom right corner. Double-click that tiny square to make the formula copy all the way down the spreadsheet.<\/li>\n<li>Scroll down a bit to check that the formula copied correctly. Do you see some cells that say \u201cDuplicate,\u201d and are they in fact duplicates? If so, excellent. We could filter the spreadsheet at this point to remove the duplicates, but it\u2019s not necessary since we\u2019ll be creating a filterable pivot table next.<\/li>\n<\/ul>\n<div id=\"attachment_2041\" style=\"width: 1035px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2041\" class=\"wp-image-2041 size-full\" src=\"https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-duplicate-formula.jpg\" alt=\"\" width=\"1025\" height=\"287\" srcset=\"https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-duplicate-formula.jpg 1025w, https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-duplicate-formula-300x84.jpg 300w, https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-duplicate-formula-768x215.jpg 768w, https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-duplicate-formula-1024x287.jpg 1024w\" sizes=\"auto, (max-width: 1025px) 100vw, 1025px\" \/><p id=\"caption-attachment-2041\" class=\"wp-caption-text\">Use an &#8220;if&#8221; formula to check for duplicate license numbers. Note that the screenshots here are from earlier versions of the data, so what you see should be similar, but may not match exactly.<\/p><\/div>\n<div id=\"attachment_2042\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2042\" class=\"wp-image-2042 size-full\" src=\"https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-copy-formula.jpg\" alt=\"\" width=\"600\" height=\"133\" srcset=\"https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-copy-formula.jpg 600w, https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-copy-formula-300x67.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><p id=\"caption-attachment-2042\" class=\"wp-caption-text\">Double-click the little blue square to copy the formula all the way down.<\/p><\/div>\n<p>5. Instead of mapping all 10,000 locations, we\u2019re going to show the total number of licensed locations by county. In this step, you\u2019ll create a pivot table to tally this.<\/p>\n<ul>\n<li>With your full spreadsheet selected, create a new Pivot Table. In Google spreadsheets, go to <strong>Data &gt; Pivot Table<\/strong>.<\/li>\n<li>You may get an error if any of the columns are missing headers. (Check for Column E, which sometimes causes problems.) You can delete any blank columns or add a header label so the pivot table will work.<\/li>\n<li>Double-check that the range matches up with your entire spreadsheet, then create a pivot table that tallies the number of licensees for each county.<\/li>\n<li>Once the pivot table is showing the totals for each county, use the filter option in the pivot table settings to filter out the rows labeled \u201cDuplicate.\u201d <em>Make sure you are <strong>excluding<\/strong> the ones labeled &#8220;Duplicate,&#8221; with the checkmark only for the blank rows.<\/em><\/li>\n<li>If all goes well, the total displayed at the bottom should be around 10,000.<\/li>\n<\/ul>\n<div id=\"attachment_2046\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2046\" class=\"wp-image-2046 size-full\" src=\"https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/filter-pivot-table.png\" alt=\"\" width=\"600\" height=\"493\" srcset=\"https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/filter-pivot-table.png 600w, https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/filter-pivot-table-300x247.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><p id=\"caption-attachment-2046\" class=\"wp-caption-text\">Your pivot table should show all the counties and the total number of licensed establishments in each one, including a filter to keep out the ones labeled as duplicates.<\/p><\/div>\n<p>Which county has the most establishments licensed to serve alcohol? The answer shouldn\u2019t be too surprising, because it&#8217;s also the county with the most people.<\/p>\n<p>6. Now copy the pivot table data to a new sheet, because we\u2019re going to add a few more columns. To paste it into the new sheet, make sure only the data is transferred (rather than the formatting and pivot table calculations). In Google spreadsheets, paste the data by going to <strong>Edit &gt; Paste Special &gt; Paste Values Only<\/strong>.<\/p>\n<div id=\"attachment_2047\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2047\" class=\"wp-image-2047 size-full\" src=\"https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/paste-special.png\" alt=\"\" width=\"600\" height=\"302\" srcset=\"https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/paste-special.png 600w, https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/paste-special-300x151.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><p id=\"caption-attachment-2047\" class=\"wp-caption-text\">Paste special is helpful if you want to keep the data without the formulas or formatting, or if you need to do other tasks like switch rows and columns.<\/p><\/div>\n<p>7. Next, you\u2019ll add county population data to the spreadsheet. The most recent data available is from 2022.<\/p>\n<ul>\n<li>Label the first open column with the header \u201c2022 Population.\u201d<\/li>\n<li>The state Office of Financial Management releases population estimates every year on April 1. Visit the OFM website to download the most recent data: <a href=\"http:\/\/www.ofm.wa.gov\/pop\/april1\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.ofm.wa.gov\/pop\/april1\/<\/a> <em>(If that link is not working, try this one: <a href=\"https:\/\/ofm.wa.gov\/washington-data-research\/population-demographics\/population-estimates\/april-1-official-population-estimates\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/ofm.wa.gov\/washington-data-research\/population-demographics\/population-estimates\/april-1-official-population-estimates<\/a>)<\/em><\/li>\n<li>Download the Excel file labeled \u201cApril 1, 2022 population of cities, towns, and counties used for the allocation of selected state revenues\u201d<\/li>\n<li>Open the spreadsheet in Excel or Google spreadsheets, and copy the 2021 population number for each county into the corresponding cell on your main spreadsheet. This part is a little tedious.<\/li>\n<\/ul>\n<div id=\"attachment_2044\" style=\"width: 1029px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2044\" class=\"wp-image-2044 size-full\" src=\"https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-copy-population.jpg\" alt=\"\" width=\"1019\" height=\"367\" srcset=\"https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-copy-population.jpg 1019w, https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-copy-population-300x108.jpg 300w, https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-copy-population-768x277.jpg 768w\" sizes=\"auto, (max-width: 1019px) 100vw, 1019px\" \/><p id=\"caption-attachment-2044\" class=\"wp-caption-text\">Make sure to copy the most recent population estimate for each county, not one of the smaller jurisdictions within the county. This screenshot shows a previous year, so make sure you get the most recent year.<\/p><\/div>\n<p>Take a moment to look through the numbers and appreciate why population is important here. We already saw that King County, where Seattle is located, has the highest number of businesses with liquor licenses. That&#8217;s not surprising \u2014 it also has tons of people! At the other extreme, Garfield County in southeastern Washington has only 3 businesses that serve alcohol, but it also has only about 2,000 people. So how can you even compare? You can divide one factor by the other to get a rate.<\/p>\n<p>If you divide the number of residents by the number of businesses that serve alcohol, there are 625 people per business in King County vs. 741 people per business in Garfield County. So they&#8217;re not so different after all.<\/p>\n<p>8. With the population numbers, we can calculate a ratio to see how many licensees each county has when adjusted for the number of people who live there. Because there are many more people than places that serve alcohol, it&#8217;s common to create a ratio <strong>per 1,000 people<\/strong> so the numbers are not tiny fractions.<\/p>\n<ul>\n<li>Label the next column as \u201cLicensees per 1000 residents\u201d<\/li>\n<li>Fill the column using a formula that will calculate, as the column header says, the number of licensees per 1000 residents. There are multiple ways to do this, but one option is dividing the number of licensed locations by the 2020 population, then multiplying by 1,000, such as <code>=B2\/C2*1000<\/code><\/li>\n<\/ul>\n<p>(You should end up with numbers between 0 and 5.)<\/p>\n<p>9. Download or save a copy of this file that includes only the final sheet, to avoid any confusion when we use it in Tableau. In Google spreadsheets, one good format is to save it using <strong>File &gt; Download As &gt; CSV<\/strong>.<\/p>\n<p><em>Your data is ready for visualizing! You can pause here or continue to Part 2.<\/em><\/p>\n<p><!--\n\n<div>\n<span class=\"header\">Submitting Your Work<\/span>\n\nComplete Part 1 of this assignment by submitting the following materials to Canvas:\n\n\n<ul>\n \t\n\n<li>Your completed spreadsheet<\/li>\n\n\n<\/ul>\n\n\n\n<em>You can stop here for now! Part 2 is submitted as a separate assignment.<\/em>\n<\/div>\n\n--><\/p>\n<hr \/>\n<p><span class=\"header\">Part 2: Make a Choropleth Map<\/span><\/p>\n<p>1. Open <strong>Tableau Public<\/strong> and import the spreadsheet with your data. If you downloaded a CSV file, use the \u201cText File\u201d option, otherwise you can use the Excel option or connect directly to your Google spreadsheet.<\/p>\n<p>2. As long as your data loads correctly, click the tab to go to Sheet 1.<\/p>\n<p>3. If Tableau has recognized your county names as geographic data, a little globe icon will display next to that data under Dimensions. If it hasn\u2019t automatically recognized that the county names are representing geographic counties, you can click on the menu associated with that dimension and assign a geographic role.<\/p>\n<div id=\"attachment_2051\" style=\"width: 809px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2051\" class=\"wp-image-2051 size-full\" src=\"https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-tableau-data-format.jpg\" alt=\"\" width=\"799\" height=\"537\" srcset=\"https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-tableau-data-format.jpg 799w, https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-tableau-data-format-300x202.jpg 300w, https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-tableau-data-format-768x516.jpg 768w\" sizes=\"auto, (max-width: 799px) 100vw, 799px\" \/><p id=\"caption-attachment-2051\" class=\"wp-caption-text\">The globe icon means Tableau recognizes this as geographic data. If it doesn&#8217;t happen automatically, you can tell Tableau that these are counties.<\/p><\/div>\n<p>4. Drag the dimension for your county names to the Rows tray, then choose the \u201cFilled Map\u201d option from the selection of chart types on the right. (If the options don\u2019t automatically display, click the \u201cShow Me\u201d button in the top right.)<\/p>\n<p>Tableau may need to work for a while to create your map&#8230;<\/p>\n<p>5. Once your map appears, you\u2019ll see the county boundaries. You\u2019ll also see a number of gaps. These are counties that have the same name as some other county in the U.S., so Tableau isn\u2019t sure where to display them.<\/p>\n<ul>\n<li>Click the \u201cXX unknown\u201d button in the bottom right of the map, then choose Edit Locations&#8230;<\/li>\n<li>The list of ambiguous county names will appear. At the top of the editing box, set the state to \u201cFixed\u201d and choose Washington, then click OK.<\/li>\n<li>If this goes correctly, you should now see all the counties of Washington filled in with no gaps.<\/li>\n<\/ul>\n<div id=\"attachment_2052\" style=\"width: 1648px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2052\" class=\"wp-image-2052 size-full\" src=\"https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-change-ambiguous-locations.jpg\" alt=\"\" width=\"1638\" height=\"583\" srcset=\"https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-change-ambiguous-locations.jpg 1638w, https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-change-ambiguous-locations-300x107.jpg 300w, https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-change-ambiguous-locations-768x273.jpg 768w, https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-change-ambiguous-locations-1024x364.jpg 1024w\" sizes=\"auto, (max-width: 1638px) 100vw, 1638px\" \/><p id=\"caption-attachment-2052\" class=\"wp-caption-text\">Counties with the same names as counties in other states won&#8217;t map immediately, but you can tell Tableau to place them all in Washington.<\/p><\/div>\n<p>6. Now we\u2019re going to change the map colors and some other labels.<\/p>\n<ul>\n<li>Drag the \u201cLicensees per 1000 residents\u201d measure into the Marks box, and assign it as a color variable. Now the map will show the liquor license data as a heat map using color, which makes this a <strong>choropleth map<\/strong>.<\/li>\n<li>Change the colors to a <strong>sequential color scale<\/strong> other than the default, making sure the darkest shade of the color represents the counties with the greatest number of establishments serving alcohol per resident.<\/li>\n<li>The variable for your county data should already be listed in the Marks box. Assign it as a Label variable to make the county names display on the map.<\/li>\n<li>Click on \u201cTooltip\u201d in the Marks box and change the label for the liquor license ratio so it\u2019s more understandable for someone who was reading this chart.<\/li>\n<li>Change the title of the map overall.<\/li>\n<\/ul>\n<div id=\"attachment_2053\" style=\"width: 930px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2053\" class=\"wp-image-2053 size-full\" src=\"https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-change-map-labels.jpg\" alt=\"\" width=\"920\" height=\"570\" srcset=\"https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-change-map-labels.jpg 920w, https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-change-map-labels-300x186.jpg 300w, https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-change-map-labels-768x476.jpg 768w\" sizes=\"auto, (max-width: 920px) 100vw, 920px\" \/><p id=\"caption-attachment-2053\" class=\"wp-caption-text\">Edit the tooltip information that appears when you hover, among other colors and labels.<\/p><\/div>\n<p>7. Next we\u2019ll make a bar chart to show similar data.<\/p>\n<ul>\n<li>Click on the \u201cAdd Sheet\u201d icon at the bottom to start a new chart.<\/li>\n<li>Drag the county name variable into the Rows tray, and the license ratio variable into the Columns tray.<\/li>\n<li>If it doesn\u2019t happen automatically, choose the horizontal bar chart for the chart type.<\/li>\n<li>Click on the county variable in the Rows tray to display menu options, and choose Sort. Set it to \u201cDescending\u201d and sort by the license ratio field so the bars display in order from greatest to least, rather than alphabetical order.<\/li>\n<li>Choose a color for your bars that coordinates with the color scale you selected for your map.<\/li>\n<li>Give the chart an appropriate title.<\/li>\n<\/ul>\n<div id=\"attachment_2054\" style=\"width: 1290px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2054\" class=\"wp-image-2054 size-full\" src=\"https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-sort-bar-chart.jpg\" alt=\"\" width=\"1280\" height=\"694\" srcset=\"https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-sort-bar-chart.jpg 1280w, https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-sort-bar-chart-300x163.jpg 300w, https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-sort-bar-chart-768x416.jpg 768w, https:\/\/murrowcourses.com\/graphics\/wp-content\/uploads\/2019\/05\/A7-sort-bar-chart-1024x555.jpg 1024w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><p id=\"caption-attachment-2054\" class=\"wp-caption-text\">Sort the data so the bars appear in order with the largest at the top.<\/p><\/div>\n<p>8. Finally, create a dashboard to display your two charts.<\/p>\n<ul>\n<li>Choose how to arrange the charts and make sure the labels are clear to someone who is not familiar with this data.<\/li>\n<li>Save your work to Tableau Public so you can publish your dashboard.<\/li>\n<\/ul>\n<p><span class=\"header\">Written questions<\/span><\/p>\n<p>In a separate document, answer these questions about the data and charts:<\/p>\n<p>1. Why would it be useless to map the data about the number of licensed establishments <em>without<\/em> adjusting for population?<\/p>\n<p>2. Given what you know about different parts of the state, what might explain why certain counties have above-average or below-average ratios? (If you&#8217;re not sure, take a guess.)<\/p>\n<p>3. Do you think this data is more effectively communicated as a map or as a different chart type, and why?<\/p>\n<p>4. Suppose you work for media strategy firm and one of your clients is a small family-owned winery in central Washington. The winery wants to expand their brand presence around the state and develop connections with local restaurants and chefs. What are two insights you could point out from this map during a planning meeting with this client?<\/p>\n<hr \/>\n<p><span class=\"header\">Submitting Your Work<\/span><\/p>\n<p>Complete your assignment by submitting the following materials to Canvas:<\/p>\n<ul>\n<li>Your completed spreadsheet<\/li>\n<li>Your Tableau dashboard link (make sure to test it)<\/li>\n<li>Text document with written responses<\/li>\n<\/ul>\n<p><!--\n\n\n<div>\n\n\n\n<hr \/>\n\n\n\n<span class=\"subhead\">Answers &amp; Feedback<\/span>\n\n<strong>Part 1 and 2: Visualize the Data<\/strong>\n\nHere's an example of a correctly completed dashboard: <a href=\"https:\/\/public.tableau.com\/profile\/kyle.bolender#!\/vizhome\/Assignment6_140\/Dashboard1?publish=yes\" target=\"_blank\" rel=\"noopener noreferrer\">Statewide Liquor Licenses<\/a>\n\nIf you didn't have the data exactly right, the most common issue was in the filtering step where you need to exclude the \"duplicate\" rows so each license is only counted once. This is a quick process to go over if you'd like to follow up during office hours, and it's a useful technique to know since it can save you a lot of time with larger datasets.\n\nThere is not just one way to do the dashboard correctly, since you could choose how to arrange your charts, as well as choosing appropriate titles and colors. Most of you completed the map and bar chart exactly right, even if in some cases there were small problems with the data.\n\nIf you had any issues with the scatterplot or want to know about more chart types in Tableau, it's also worth noting that Tableau has a ton of free resources about how to use the software, including tutorials and examples for all the chart types. Here's one about scatterplots: http:\/\/onlinehelp.tableau.com\/current\/pro\/desktop\/en-us\/buildexamples_scatter.html\n\n<strong>Part 3: Written questions<\/strong>\n\n<em>1. Why would it be useless to map the data about the number of licensed establishments <strong>without<\/strong> adjusting for population?<\/em>\n\nWithout adjusting for population, we would merely see that places with more people also have more places that sell alcohol. It would be an example of the \"population map\" problem.\n\n<em>2. Given what you know about different parts of the state, what might explain why the county at the top of the list has such a high ratio? (If you're not sure, take a guess.)<\/em>\n\nFor this question I meant the top of the ratio list, so the county with the highest number of licensees per 1,000 residents, which was San Juan County. (Since that was somewhat ambiguous, I still gave credit for responses about other counties.) And many of you were correct \u2014 San Juan County is a tourist destination, so entertainment\/dining establishments serve a lot of people who don't actually live there.\n\n<em>3. Do you think this data is more effectively communicated as a map or as a different chart type, and why?<\/em>\n\nOpinions varied about this one \u2014 anecdotally, it seems like there may be different preferences for those of you who are from Washington vs. those who aren't. The bar chart definitely makes it easier to see the rankings, but the county names are meaningless if you aren't familiar with state geography; the map gives a strong geographic reference but doesn't otherwise show any geographic trends.\n\n<\/div>\n\n\n--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this assignment, you\u2019ll map liquor licenses for the entire state. Instead of using point data to represent the location of every establishment licensed to sell alcohol, we\u2019ll aggregate the data by county and create a choropleth map.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-2038","post","type-post","status-publish","format-standard","hentry","category-assignments"],"_links":{"self":[{"href":"https:\/\/murrowcourses.com\/graphics\/wp-json\/wp\/v2\/posts\/2038","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/murrowcourses.com\/graphics\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/murrowcourses.com\/graphics\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/murrowcourses.com\/graphics\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/murrowcourses.com\/graphics\/wp-json\/wp\/v2\/comments?post=2038"}],"version-history":[{"count":5,"href":"https:\/\/murrowcourses.com\/graphics\/wp-json\/wp\/v2\/posts\/2038\/revisions"}],"predecessor-version":[{"id":3320,"href":"https:\/\/murrowcourses.com\/graphics\/wp-json\/wp\/v2\/posts\/2038\/revisions\/3320"}],"wp:attachment":[{"href":"https:\/\/murrowcourses.com\/graphics\/wp-json\/wp\/v2\/media?parent=2038"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/murrowcourses.com\/graphics\/wp-json\/wp\/v2\/categories?post=2038"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/murrowcourses.com\/graphics\/wp-json\/wp\/v2\/tags?post=2038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}