{"id":1010,"date":"2022-01-20T13:10:43","date_gmt":"2022-01-20T21:10:43","guid":{"rendered":"http:\/\/miriamposner.com\/classes\/dh201w23\/?page_id=1010"},"modified":"2023-01-25T13:21:17","modified_gmt":"2023-01-25T21:21:17","slug":"further-tableau-flourish","status":"publish","type":"page","link":"https:\/\/miriamposner.com\/classes\/dh201w23\/tutorials-guides\/data-visualization\/further-tableau-flourish\/","title":{"rendered":"Further Tableau"},"content":{"rendered":"\n<p>If you&#8217;ve completed our <a href=\"http:\/\/miriamposner.com\/classes\/dh201w23\/tutorials-guides\/data-visualization\/getting-started-with-tableau-public\/\" data-type=\"page\" data-id=\"307\">first Tableau exercise<\/a>, or if you already know how to do basic stuff in Tableau, this tutorial will show you how to do a few more interesting things. You&#8217;ll switch among visualization types, learn how filters work, expose controls to the user, and test your skills on a couple of challenges.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1 Welcome (or welcome back)!<\/h2>\n\n\n\n<p><a href=\"https:\/\/share.descript.com\/view\/KqRXi0Yjjn6\"><em>You can also watch this on video.<\/em><\/a><\/p>\n\n\n\n<p>So you have some experience with Tableau\u2014enough to navigate the user interface and make some basic charts. Let&#8217;s look at a few of the tool&#8217;s more advanced features.<\/p>\n\n\n\n<p>For this tutorial, please download&nbsp;<a href=\"https:\/\/www.dropbox.com\/s\/p3xpsd7ubpmg6m5\/accused_witches.csv?dl=1\">this dataset<\/a>. (It comes from the&nbsp;<a href=\"http:\/\/witches.shca.ed.ac.uk\/\">Survey of Scottish Witchcraft Database<\/a>!)<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/tableau__filters__colors__and_more_tips_and_tricks.md#2-import-your-dataset\"><\/a>2 Import your dataset<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"975\" height=\"663\" src=\"http:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-1-1.jpeg\" alt=\"\" class=\"wp-image-1176\" srcset=\"https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-1-1.jpeg 975w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-1-1-300x204.jpeg 300w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-1-1-768x522.jpeg 768w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-1-1-171x116.jpeg 171w\" sizes=\"auto, (max-width: 975px) 100vw, 975px\" \/><\/figure>\n\n\n\n<p>Start a new Tableau worksheet (<strong>File<\/strong>\u00a0->\u00a0<strong>New Worksheet<\/strong>) and import the witchcraft file as you did in the previous tutorial. Remember, a .csv file is a text file to Tableau.<\/p>\n\n\n\n<p><a href=\"https:\/\/share.descript.com\/view\/KqRXi0Yjjn6?t=23.27\">Watch this on video.<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/tableau__filters__colors__and_more_tips_and_tricks.md#3-correct-your-data-types\"><\/a>3 Correct your data types<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"522\" height=\"511\" src=\"http:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-2-3.jpeg\" alt=\"\" class=\"wp-image-1178\" srcset=\"https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-2-3.jpeg 522w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-2-3-300x294.jpeg 300w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-2-3-118x116.jpeg 118w\" sizes=\"auto, (max-width: 522px) 100vw, 522px\" \/><\/figure>\n\n\n\n<p>Once you&#8217;ve imported the dataset, click on\u00a0<strong>Sheet<\/strong>\u00a0(the orange button at the bottom left of the Tableau window) to be taken to the visualization workspace.<\/p>\n\n\n\n<p>Let&#8217;s take a look at the fields available to us in Tableau&#8217;s&nbsp;<strong>Data<\/strong>&nbsp;pane. As before, we have both measures and dimensions.<\/p>\n\n\n\n<p>Tableau tries to guess what kind of data is in each of your columns, and it does a pretty good job. But I do notice a mistake: it&#8217;s imported&nbsp;<strong>Date<\/strong>&nbsp;as a string (a set of characters), not a calendar date. You can tell because the little blue icon to the left of the word &#8220;Date&#8221; is a tiny &#8220;Abc&#8221; instead a calendar.<\/p>\n\n\n\n<p>Let&#8217;s change that. Click on the word\u00a0<strong>Date<\/strong>\u00a0to reveal a dropdown menu. From the menu, choose\u00a0<strong>Change Data Type<\/strong>, and then\u00a0<strong>Date<\/strong>. The icon next to <strong>Date<\/strong> should now look like a little calendar.<\/p>\n\n\n\n<p>(You could also click on the &#8220;Abc&#8221; icon directly to accomplish the same thing.)<\/p>\n\n\n\n<p><a href=\"https:\/\/share.descript.com\/view\/KqRXi0Yjjn6?t=91.193\">Watch this on video.<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/tableau__filters__colors__and_more_tips_and_tricks.md#4-get-oriented-with-our-data\"><\/a>4 Get oriented with our data<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"605\" height=\"627\" src=\"http:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-3.jpeg\" alt=\"\" class=\"wp-image-1179\" srcset=\"https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-3.jpeg 605w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-3-289x300.jpeg 289w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-3-112x116.jpeg 112w\" sizes=\"auto, (max-width: 605px) 100vw, 605px\" \/><\/figure>\n\n\n\n<p>Let&#8217;s try to figure out the general contours of our data. My first inclination is to figure out how many people were accused of witchcraft over time.<\/p>\n\n\n\n<p>We want to see a distribution over time, so we know we&#8217;ll want our chart to include the date. Grab the&nbsp;<strong>Date<\/strong>&nbsp;field and drop it on the left side of your canvas.<\/p>\n\n\n\n<p>Now you have a list of dates. And if you look above the canvas, you&#8217;ll see that a &#8220;pill&#8221; containing YEAR(Date) has appeared on the&nbsp;<strong>Rows<\/strong>&nbsp;shelf.<\/p>\n\n\n\n<p><a href=\"https:\/\/share.descript.com\/view\/KqRXi0Yjjn6?t=155.156\">Watch this on video.<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/tableau__filters__colors__and_more_tips_and_tricks.md#5-add-a-measure-to-our-chart\"><\/a>5 Add a measure to our chart<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"587\" height=\"543\" src=\"http:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-4.jpeg\" alt=\"\" class=\"wp-image-1180\" srcset=\"https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-4.jpeg 587w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-4-300x278.jpeg 300w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-4-125x116.jpeg 125w\" sizes=\"auto, (max-width: 587px) 100vw, 587px\" \/><\/figure>\n\n\n\n<p><a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/steps-tableau__filters__colors__and_more_tips_and_tricks\/step-4.jpeg\"><\/a>&nbsp;We now have a list of dates, but Tableau still doesn&#8217;t know what you want it to&nbsp;<em>show<\/em>&nbsp;you for those dates.<\/p>\n\n\n\n<p>We want to know the sum of all people accused of witchcraft during each year. Which of our measures could show us that?<\/p>\n\n\n\n<p>We want to use the generated count again: that is, the count of records that Tableau has added to our list of measures. It looks like this:&nbsp;<em>accused_witches (2).csv (Count)<\/em>. Grab that measure and drop it in our table, in the column that&#8217;s currently populated by rows reading &#8220;Abc.&#8221;<\/p>\n\n\n\n<p>Now, the second column in your table should give you a count of all the records for that year.<\/p>\n\n\n\n<p><a href=\"https:\/\/share.descript.com\/view\/KqRXi0Yjjn6?t=202.971\">Watch this on video.<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/tableau__filters__colors__and_more_tips_and_tricks.md#6-our-first-visualization\"><\/a>6 Our first visualization<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"826\" height=\"561\" src=\"http:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-5.jpeg\" alt=\"\" class=\"wp-image-1181\" srcset=\"https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-5.jpeg 826w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-5-300x204.jpeg 300w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-5-768x522.jpeg 768w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-5-171x116.jpeg 171w\" sizes=\"auto, (max-width: 826px) 100vw, 826px\" \/><\/figure>\n\n\n\n<p><a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/steps-tableau__filters__colors__and_more_tips_and_tricks\/step-5.jpeg\"><\/a>&nbsp;It&#8217;s nice to start out with a simple chart, so click on the&nbsp;<strong>horizontal ba<\/strong>r tile in the&nbsp;<strong>Show me<\/strong>&nbsp;pane.<\/p>\n\n\n\n<p>That sort of works, in the sense that a bar chart appears, but it&#8217;s a bit hard to read. Two things bug me: first, it would be easier to understand if the dates appeared on the horizontal axis, and second, there are so many &#8220;null&#8221; values that they distort the scale of the graph, so that every other year looks similar in comparison.<\/p>\n\n\n\n<p><a href=\"https:\/\/share.descript.com\/view\/KqRXi0Yjjn6?t=248.22\">Watch this on video.<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/tableau__filters__colors__and_more_tips_and_tricks.md#7-from-horizontal-to-vertical\"><\/a>7 From horizontal to vertical<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"470\" height=\"229\" src=\"http:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-6.jpeg\" alt=\"\" class=\"wp-image-1182\" srcset=\"https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-6.jpeg 470w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-6-300x146.jpeg 300w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-6-228x111.jpeg 228w\" sizes=\"auto, (max-width: 470px) 100vw, 470px\" \/><\/figure>\n\n\n\n<p><a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/steps-tableau__filters__colors__and_more_tips_and_tricks\/step-6.jpeg\"><\/a>&nbsp;Let&#8217;s start by switching the axes of our bar chart, so that the date appears along the bottom.<\/p>\n\n\n\n<p>Luckily, there&#8217;s a button for that! Find it in Tableau&#8217;s top toolbar: a series of squares with an arrow indicating a switch.<\/p>\n\n\n\n<p>When you click the button, you&#8217;ll see that the blue and green pills switch places on the row and column shelves, and your axes reconfigure themselves so that the date runs along the bottom.<\/p>\n\n\n\n<p>Better! But let&#8217;s get rid of those null values.<\/p>\n\n\n\n<p><a href=\"https:\/\/share.descript.com\/view\/KqRXi0Yjjn6?t=283.645\">Watch this on video.<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/tableau__filters__colors__and_more_tips_and_tricks.md#8-filter-your-dates\"><\/a>8 Filter your dates<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"743\" src=\"http:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-7-1024x743.jpeg\" alt=\"\" class=\"wp-image-1183\" srcset=\"https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-7-1024x743.jpeg 1024w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-7-300x218.jpeg 300w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-7-768x557.jpeg 768w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-7-160x116.jpeg 160w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-7.jpeg 1406w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/steps-tableau__filters__colors__and_more_tips_and_tricks\/step-7.jpeg\" target=\"_blank\"><\/a>\u00a0To filter out the null values, click on the dropdown arrow on the blue &#8220;pill&#8221; that reads YEAR(Date) in the <strong>Columns<\/strong> shelf. From the menu that emerges, click\u00a0<strong>Filter<\/strong>.<\/p>\n\n\n\n<p>Now we can see our options for filtering out year values. This is pretty straightforward! Uncheck the&nbsp;<strong>Null<\/strong>&nbsp;checkbox, then click&nbsp;<strong>OK<\/strong>.<\/p>\n\n\n\n<p>Now it&#8217;s a bit easier to see which years saw the most witchcraft accusations.<\/p>\n\n\n\n<p><a href=\"https:\/\/share.descript.com\/view\/KqRXi0Yjjn6?t=318.589\">Watch this on video.<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/tableau__filters__colors__and_more_tips_and_tricks.md#9-add-another-dimension-to-your-chart\"><\/a>9 Add another dimension to your chart<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"486\" height=\"649\" src=\"http:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-8.jpeg\" alt=\"\" class=\"wp-image-1184\" srcset=\"https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-8.jpeg 486w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-8-225x300.jpeg 225w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-8-87x116.jpeg 87w\" sizes=\"auto, (max-width: 486px) 100vw, 486px\" \/><\/figure>\n\n\n\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/steps-tableau__filters__colors__and_more_tips_and_tricks\/step-8.jpeg\" target=\"_blank\"><\/a>\u00a0It would be nice to see the sex breakdowns of accusations per year. To do that, grab the <strong>Sex<\/strong> field from the left-hand list and drop on the\u00a0<strong>Color<\/strong>\u00a0tile on the\u00a0<strong>Marks<\/strong>\u00a0pane. (You could also drop it directly on the canvas; you can often do things multiple ways in Tableau.)<\/p>\n\n\n\n<p>Perhaps you&#8217;d like to change the default colors on the stacked bar chart that you now see. To do that, you&#8217;ll want to reveal your&nbsp;<strong>Legend<\/strong>\u2014right now it&#8217;s probably covered by the&nbsp;<strong>Show me<\/strong>&nbsp;pane (the pallet of visualization types at the top right of your window).<\/p>\n\n\n\n<p>To reveal the legend, click on the words&nbsp;<strong>Show me<\/strong>&nbsp;at the top of the &#8220;Show me&#8221; pane in order to collapse that menu. You should now see a legend. Double-click on any of the elements to change their assigned colors. (You can bring back the Show me pane by clicking again on its name.)<\/p>\n\n\n\n<p><a href=\"https:\/\/share.descript.com\/view\/KqRXi0Yjjn6?t=392.754\">Watch this on video.<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/tableau__filters__colors__and_more_tips_and_tricks.md#10-view-the-data-as-a-highlight-table\"><\/a>10 View the data as a highlight table<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"656\" src=\"http:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-9-1024x656.jpeg\" alt=\"\" class=\"wp-image-1185\" srcset=\"https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-9-1024x656.jpeg 1024w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-9-300x192.jpeg 300w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-9-768x492.jpeg 768w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-9-1536x984.jpeg 1536w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-9-1568x1005.jpeg 1568w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-9-181x116.jpeg 181w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-9.jpeg 1754w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/steps-tableau__filters__colors__and_more_tips_and_tricks\/step-9.jpeg\"><\/a>&nbsp;The bar chart is helpful, but let&#8217;s try another visualization type for comparison. From the&nbsp;<strong>Show me<\/strong>&nbsp;pane, select the&nbsp;<strong>highlight table<\/strong>: it&#8217;s a grid of green and yellow rectangles.<\/p>\n\n\n\n<p>It&#8217;s probably easier to see the table if the years run vertically, so use the&nbsp;<strong>Swap rows and columns<\/strong>&nbsp;button again to change the orientation.<\/p>\n\n\n\n<p>Compare this chart to the bar chart. Does your eye more easily spot the very active years? What are the relative strengths of each type of chart?<\/p>\n\n\n\n<p>(You might like to play with the chart&#8217;s details, too. If you look at the dropdown menu immediately beneath the title of the\u00a0<strong>Marks<\/strong>\u00a0pane, you&#8217;ll see that <strong>Square<\/strong> is selected. What happens if you switch that to\u00a0<strong>Circle<\/strong>? What happens if you drag\u00a0<em>accused_witches(2).csv (Count)<\/em>\u00a0on to the\u00a0<strong>Size<\/strong>\u00a0button on the\u00a0<strong>Marks<\/strong>\u00a0pane?)<\/p>\n\n\n\n<p><a href=\"https:\/\/share.descript.com\/view\/KqRXi0Yjjn6?t=453.401\">Watch this on video.<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/tableau__filters__colors__and_more_tips_and_tricks.md#11-see-the-top-10-years\"><\/a>11 See the top 10 years<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"515\" height=\"679\" src=\"http:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-10.jpeg\" alt=\"\" class=\"wp-image-1187\" srcset=\"https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-10.jpeg 515w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-10-228x300.jpeg 228w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-10-88x116.jpeg 88w\" sizes=\"auto, (max-width: 515px) 100vw, 515px\" \/><\/figure>\n\n\n\n<p><a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/steps-tableau__filters__colors__and_more_tips_and_tricks\/step-10.jpeg\"><\/a>&nbsp;Go back to the stacked bar chart view of your data.<\/p>\n\n\n\n<p>Perhaps it would be useful to see which years saw the most accusations of witchcraft. To do this, we&#8217;ll use a different kind of filter.<\/p>\n\n\n\n<p>From the blue&nbsp;<strong>YEAR(Date)<\/strong>&nbsp;pill on the&nbsp;<strong>Columns<\/strong>&nbsp;shelf, click the dropdown arrow and then select&nbsp;<strong>Filter.<\/strong>&nbsp;This time, click on the&nbsp;<strong>Top<\/strong>&nbsp;button. Click the&nbsp;<strong>By field<\/strong>&nbsp;radio button and set the parameters to Top 10 by Count (as shown). Then click&nbsp;<strong>OK<\/strong>.<\/p>\n\n\n\n<p>Try filtering by other parameters, too. Can you figure out how to show only those years in which at least 10 people were accused of witchcraft? (You&#8217;ll need to use the&nbsp;<strong>Condition<\/strong>&nbsp;pane.)<\/p>\n\n\n\n<p>How can we show the data for only female accused witches? (You&#8217;ll need to set another filter, this time on&nbsp;<strong>Sex<\/strong>.)<\/p>\n\n\n\n<p><a href=\"https:\/\/share.descript.com\/view\/KqRXi0Yjjn6?t=575.141\">Watch this on video.<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/tableau__filters__colors__and_more_tips_and_tricks.md#12-change-the-x-axis\"><\/a>12 Change the X axis<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"715\" height=\"711\" src=\"http:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-11.jpeg\" alt=\"\" class=\"wp-image-1188\" srcset=\"https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-11.jpeg 715w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-11-300x298.jpeg 300w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-11-150x150.jpeg 150w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-11-117x116.jpeg 117w\" sizes=\"auto, (max-width: 715px) 100vw, 715px\" \/><\/figure>\n\n\n\n<p><a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/steps-tableau__filters__colors__and_more_tips_and_tricks\/step-11.jpeg\"><\/a>&nbsp;So far, we&#8217;ve been viewing our data by date. Let&#8217;s try changing that to county, to see if we notice anything else that strikes our attention.<\/p>\n\n\n\n<p>Drag the&nbsp;<strong>Res county<\/strong>&nbsp;field to the&nbsp;<strong>Columns<\/strong>&nbsp;shelf. Remove the&nbsp;<strong>YEAR(Date)<\/strong>&nbsp;pill by clicking its down arrow and selecting&nbsp;<strong>Remove<\/strong>.<\/p>\n\n\n\n<p>Now we see the activity by county in the 10 years during which there were the most witchcraft accusations (because, remember, our YEAR(Date) filter is still active; you can remove it if you want).<\/p>\n\n\n\n<p>If you&#8217;d like, you can sort the counties in ascending or descending order, using the buttons immediately to the right of the Switch Columns and Rows button.<\/p>\n\n\n\n<p><a href=\"https:\/\/share.descript.com\/view\/KqRXi0Yjjn6?t=683.432\">Watch this on video.<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/tableau__filters__colors__and_more_tips_and_tricks.md#13-clear-your-workspace\"><\/a>13 Clear your workspace<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"784\" src=\"http:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-12-1024x784.jpeg\" alt=\"\" class=\"wp-image-1189\" srcset=\"https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-12-1024x784.jpeg 1024w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-12-300x230.jpeg 300w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-12-768x588.jpeg 768w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-12-1536x1176.jpeg 1536w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-12-1568x1201.jpeg 1568w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-12-152x116.jpeg 152w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-12.jpeg 2014w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/steps-tableau__filters__colors__and_more_tips_and_tricks\/step-12.jpeg\"><\/a>&nbsp;Let&#8217;s try to figure out the ages of people accused of witchcraft over time.<\/p>\n\n\n\n<p>Start by clearing the &#8220;pills&#8221; from the columns and rows shelves, the filters pane, and the marks pane, so that your worksheet is blank.<\/p>\n\n\n\n<p><a href=\"https:\/\/share.descript.com\/view\/KqRXi0Yjjn6?t=763.982\">Watch this on video.<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/tableau__filters__colors__and_more_tips_and_tricks.md#14-add-your-dates-to-the-canvas\"><\/a>14 Add your dates to the canvas<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"550\" src=\"http:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-13.jpeg\" alt=\"\" class=\"wp-image-1191\" srcset=\"https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-13.jpeg 600w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-13-300x275.jpeg 300w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-13-127x116.jpeg 127w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/figure>\n\n\n\n<p><a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/steps-tableau__filters__colors__and_more_tips_and_tricks\/step-13.jpeg\"><\/a>&nbsp;<a href=\"https:\/\/share.descript.com\/view\/KqRXi0Yjjn6?t=803.66\">Watch this on video.<\/a><\/p>\n\n\n\n<p>Since we want to look at ages over time, we know we&#8217;ll need our&nbsp;<strong>Date<\/strong>&nbsp;field. Grab that field from the&nbsp;<strong>Tables<\/strong>&nbsp;list on the left and drop it on the canvas.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/tableau__filters__colors__and_more_tips_and_tricks.md#15-add-age-to-your-canvas\"><\/a>15 Add age to your canvas<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"968\" height=\"1024\" src=\"http:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-14-968x1024.jpeg\" alt=\"\" class=\"wp-image-1192\" srcset=\"https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-14-968x1024.jpeg 968w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-14-283x300.jpeg 283w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-14-768x813.jpeg 768w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-14-110x116.jpeg 110w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-14.jpeg 1372w\" sizes=\"auto, (max-width: 968px) 100vw, 968px\" \/><\/figure>\n\n\n\n<p><a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/steps-tableau__filters__colors__and_more_tips_and_tricks\/step-14.jpeg\"><\/a>&nbsp;We want to see how ages change over time, so grab the&nbsp;<strong>Age<\/strong>&nbsp;field and drop it on the table on your canvas, in the column currently populated by &#8220;Abc.&#8221;<\/p>\n\n\n\n<p><a href=\"https:\/\/share.descript.com\/view\/KqRXi0Yjjn6?t=813.18\">Watch this on video.<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/tableau__filters__colors__and_more_tips_and_tricks.md#16-a-closer-look\"><\/a>16 A closer look<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"645\" src=\"http:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-15-1024x645.jpeg\" alt=\"\" class=\"wp-image-1193\" srcset=\"https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-15-1024x645.jpeg 1024w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-15-300x189.jpeg 300w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-15-768x484.jpeg 768w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-15-1536x967.jpeg 1536w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-15-1568x987.jpeg 1568w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-15-184x116.jpeg 184w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-15.jpeg 1998w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/steps-tableau__filters__colors__and_more_tips_and_tricks\/step-15.jpeg\"><\/a>&nbsp;That seemed to work, but if you scroll down on the table you created, you&#8217;ll notice some peculiarities. In 1629, for example, you&#8217;ll see the age 235! In 1630, the age is 270. What&#8217;s going on?<\/p>\n\n\n\n<p>You can look more closely at the basis of these numbers by clicking on one of these strange values (for example, the &#8220;235&#8221; value for 1629) and, in the popup that emerges, clicking on the&nbsp;<strong>View Data<\/strong>&nbsp;icon on the far right. (It looks like three columns of text.)<\/p>\n\n\n\n<p>Then, in the next window, click on the&nbsp;<strong>Full Data<\/strong>&nbsp;tab. You&#8217;ll be able to see every value for the year 1629.<\/p>\n\n\n\n<p>Upon closer inspection, it&#8217;s clear what&#8217;s happening: Tableau has&nbsp;<em>added<\/em>&nbsp;every age together to get a value of 235 for 1629.<\/p>\n\n\n\n<p>That might make sense if we were working with, say, the costs of goods. But it doesn&#8217;t make much sense to add up all the ages.<\/p>\n\n\n\n<p>To understand how to get a more meaningful value, let&#8217;s talk briefly about aggregation in Tableau.<\/p>\n\n\n\n<p><a href=\"https:\/\/share.descript.com\/view\/KqRXi0Yjjn6?t=829.288\">Watch this on video.<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/tableau__filters__colors__and_more_tips_and_tricks.md#17-age-and-aggregation\"><\/a>17 Age and aggregation<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"718\" height=\"1024\" src=\"http:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-16-718x1024.jpeg\" alt=\"\" class=\"wp-image-1195\" srcset=\"https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-16-718x1024.jpeg 718w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-16-210x300.jpeg 210w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-16-768x1095.jpeg 768w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-16-81x116.jpeg 81w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-16.jpeg 788w\" sizes=\"auto, (max-width: 718px) 100vw, 718px\" \/><\/figure>\n\n\n\n<p><a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/steps-tableau__filters__colors__and_more_tips_and_tricks\/step-16.jpeg\"><\/a>&nbsp;Tableau always&nbsp;<em>aggregates<\/em>&nbsp;measures for you in some way. For example, it gave us the&nbsp;<em>sum<\/em>&nbsp;of all the records for each year when we created our bar chart showing accustions over time.<\/p>\n\n\n\n<p>Lots of times, &#8220;sum&#8221; is a good way to aggregate. But sometimes, like now, it doesn&#8217;t make sense. Let&#8217;s use a more meaningful form of aggregation.<\/p>\n\n\n\n<p>Click on the&nbsp;<strong>SUM(Age)<\/strong>&nbsp;pill in the&nbsp;<strong>Marks<\/strong>&nbsp;pane. From the menu that drops down, select&nbsp;<strong>Measure (Sum)<\/strong>&nbsp;and then choose a more meaningful form of aggregation, like&nbsp;<strong>Average<\/strong>&nbsp;or&nbsp;<strong>Median<\/strong>.<\/p>\n\n\n\n<p>(For more on aggregation, read&nbsp;<a href=\"https:\/\/learning.oreilly.com\/library\/view\/practical-tableau\/9781491977309\/ch08.html#:-:text=An%20Introduction%20to%20Aggregation,using%20the%20Sales%20measure\">here<\/a>%3A).)<\/p>\n\n\n\n<p><a href=\"https:\/\/share.descript.com\/view\/KqRXi0Yjjn6?t=888.343\">Watch this on video.<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/tableau__filters__colors__and_more_tips_and_tricks.md#18-finish-your-age-chart\"><\/a>18 Finish your age chart<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"983\" src=\"http:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-17-1024x983.jpeg\" alt=\"\" class=\"wp-image-1196\" srcset=\"https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-17-1024x983.jpeg 1024w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-17-300x288.jpeg 300w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-17-768x738.jpeg 768w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-17-121x116.jpeg 121w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-17.jpeg 1512w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/steps-tableau__filters__colors__and_more_tips_and_tricks\/step-17.jpeg\"><\/a>&nbsp;Now the numbers make more sense! Let&#8217;s finish that bar chart.<\/p>\n\n\n\n<p>First, filter out the null values by selecting the <strong>AVG(Age)<\/strong> pill and making sure the\u00a0<strong>Include null values<\/strong>\u00a0box isn&#8217;t checked.<\/p>\n\n\n\n<p>Then filter out the null values for the&nbsp;<strong>YEAR(Date)<\/strong>&nbsp;field.<\/p>\n\n\n\n<p>Convert your table to a bar chart by clicking on the appropriate icon on your&nbsp;<strong>Show me<\/strong>&nbsp;pane. If you&#8217;d like, you can switch the axes so that dates run along the bottom.<\/p>\n\n\n\n<p>Now we have a better sense of the ages of the people accused of witchcraft.<\/p>\n\n\n\n<p><a href=\"https:\/\/share.descript.com\/view\/KqRXi0Yjjn6?t=946.156\">Watch this on video.<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/tableau__filters__colors__and_more_tips_and_tricks.md#19-try-this\"><\/a>19 Try this<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"472\" height=\"584\" src=\"http:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-18.jpeg\" alt=\"\" class=\"wp-image-1197\" srcset=\"https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-18.jpeg 472w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-18-242x300.jpeg 242w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-18-94x116.jpeg 94w\" sizes=\"auto, (max-width: 472px) 100vw, 472px\" \/><\/figure>\n\n\n\n<p><a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/steps-tableau__filters__colors__and_more_tips_and_tricks\/step-18.jpeg\"><\/a>&nbsp;Can you create a chart that displays the sex breakdown of the top 10 occupations of the accused? (See the video for a solution.)<\/p>\n\n\n\n<p><a href=\"https:\/\/share.descript.com\/view\/KqRXi0Yjjn6?t=990.503\">Watch this on video.<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/tableau__filters__colors__and_more_tips_and_tricks.md#20-try-this\"><\/a>20 Try this<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"781\" height=\"654\" src=\"http:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-19.jpeg\" alt=\"\" class=\"wp-image-1198\" srcset=\"https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-19.jpeg 781w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-19-300x251.jpeg 300w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-19-768x643.jpeg 768w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-19-139x116.jpeg 139w\" sizes=\"auto, (max-width: 781px) 100vw, 781px\" \/><\/figure>\n\n\n\n<p><a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/steps-tableau__filters__colors__and_more_tips_and_tricks\/step-19.jpeg\"><\/a>&nbsp;Can you create&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Sparkline\">sparklines<\/a>&nbsp;showing accusations in the top 10 counties for witchcraft accusations? (You can hide the titles for the axes by right-clicking on them and then unchecking&nbsp;<strong>Show header<\/strong>.)<\/p>\n\n\n\n<p>(<a href=\"https:\/\/share.descript.com\/view\/KqRXi0Yjjn6?t=1124.427\">See the video for a solution<\/a>.)<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/tableau__filters__colors__and_more_tips_and_tricks.md#21-change-the-look-of-your-chart\"><\/a>21 Change the look of your chart<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"655\" height=\"575\" src=\"http:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-20.jpeg\" alt=\"\" class=\"wp-image-1199\" srcset=\"https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-20.jpeg 655w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-20-300x263.jpeg 300w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-20-132x116.jpeg 132w\" sizes=\"auto, (max-width: 655px) 100vw, 655px\" \/><\/figure>\n\n\n\n<p><a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/steps-tableau__filters__colors__and_more_tips_and_tricks\/step-20.jpeg\"><\/a>&nbsp;You can customize the look of just about anything on your chart! Right-click (or control-click) on your canvas and select&nbsp;<strong>Format<\/strong>&nbsp;from the dropdown menu. You&#8217;ll see that you can switch up your fonts, their layout, color and shading, borders, and many other attributes.<\/p>\n\n\n\n<p>Remember, to change the attributes of the &#8220;marks&#8221; (the visual representation of your data) on your chart, you&#8217;ll work with the&nbsp;<strong>Marks<\/strong>&nbsp;pane or the&nbsp;<strong>Legend<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/tableau__filters__colors__and_more_tips_and_tricks.md#22-give-the-users-control\"><\/a>22 Give the users control<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"392\" height=\"614\" src=\"http:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-21.jpeg\" alt=\"\" class=\"wp-image-1201\" srcset=\"https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-21.jpeg 392w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-21-192x300.jpeg 192w, https:\/\/miriamposner.com\/classes\/dh201w23\/wp-content\/uploads\/sites\/21\/2023\/01\/step-21-74x116.jpeg 74w\" sizes=\"auto, (max-width: 392px) 100vw, 392px\" \/><\/figure>\n\n\n\n<p><a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/miriamposner\/tableau2\/blob\/main\/steps-tableau__filters__colors__and_more_tips_and_tricks\/step-21.jpeg\"><\/a>&nbsp;Once you&#8217;re happy with your final product, let&#8217;s make it possible for the users to apply filters themselves.<\/p>\n\n\n\n<p>For the <strong>YEAR(Date)<\/strong> filter, first change the data type from\u00a0<strong>Discrete<\/strong>\u00a0to\u00a0<strong>Continuous<\/strong>. This allows the years to be shown as a flowing range of values, rather than individual checkboxes.<\/p>\n\n\n\n<p>Then, select&nbsp;<strong>Show Filter<\/strong>&nbsp;from the dropdown menu. You&#8217;ll be able to see a date scrubber next to your chart.<\/p>\n\n\n\n<p>Now, when you publish your chart, your user will be able to change the date range.<\/p>\n\n\n\n<p>From bar charts to filters to user controls, you know how to do a lot with Tableau! If you have some time,&nbsp;<a href=\"https:\/\/help.tableau.com\/current\/pro\/desktop\/en-us\/story_create.htm\">learn about making stories with Tableau.<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/share.descript.com\/view\/KqRXi0Yjjn6?t=1285.798\">Watch this on video.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;ve completed our first Tableau exercise, or if you already know how to do basic stuff in Tableau, this tutorial will show you how to do a few more&hellip; <a class=\"more-link\" href=\"https:\/\/miriamposner.com\/classes\/dh201w23\/tutorials-guides\/data-visualization\/further-tableau-flourish\/\">Continue reading <span class=\"screen-reader-text\">Further Tableau<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":211,"menu_order":4,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_eb_attr":"","footnotes":""},"class_list":["post-1010","page","type-page","status-publish","hentry","entry"],"_links":{"self":[{"href":"https:\/\/miriamposner.com\/classes\/dh201w23\/wp-json\/wp\/v2\/pages\/1010","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/miriamposner.com\/classes\/dh201w23\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/miriamposner.com\/classes\/dh201w23\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/miriamposner.com\/classes\/dh201w23\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/miriamposner.com\/classes\/dh201w23\/wp-json\/wp\/v2\/comments?post=1010"}],"version-history":[{"count":0,"href":"https:\/\/miriamposner.com\/classes\/dh201w23\/wp-json\/wp\/v2\/pages\/1010\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/miriamposner.com\/classes\/dh201w23\/wp-json\/wp\/v2\/pages\/211"}],"wp:attachment":[{"href":"https:\/\/miriamposner.com\/classes\/dh201w23\/wp-json\/wp\/v2\/media?parent=1010"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}