VizWiz

Launch, grow, and unlock your career in data
Showing posts with label set action. Show all posts

March 11, 2024

#MakeoverMonday 2024 Week 11 - Housing Vacancies in America

No comments
This week I decided to turn Makeover Monday into a Workout Wednesday of sorts. I wanted to try a technique I haven't used in a while...showing elements on either side of a rank and filtering out the rest.

Want to give it  a try? Get the data here.

Requirements:
  1. Size - 1000x475
  2. Max 4 containers; no tiled containers allowed
  3. Filter out Alaska, Hawaii and Puerto Rico
  4. Clicking on a MSA in the map highlights the MSA in the map and bar chart and changes the MSAs that are displayed in the bar chart
  5. The bar chart shows the rank of the MSA for the metric selected.
  6. There should always be 11 bars (though I didn't test the lowest rank).
  7. The label on the end of the bar and in the map reflect the formatting of the measure selected (i.e., either whole numbers or a percentage to one decimaal).
  8. Include an option to change the measure and to change the number of MSAs on the map.
  9. Create a mobile view
  10. NO LODS!

Have fun! 

September 26, 2023

Dynamic Drill-Down from Monthly to Daily Data Using Set Actions

No comments

Unlock the power of Tableau's Set Actions to enhance your data visualizations! 

In this in-depth tutorial, I'll walk you through a step-by-step guide on how to create an interactive chart that allows users to drill down from monthly to daily data by simply clicking on a month. 

Ideal for analysts, business intelligence professionals, and anyone who wants to level up their Tableau skills.

What You'll Learn:

- How to set up Set Actions in Tableau

- Create interactive charts for effective data exploration

- Best practices for visualizing monthly and daily data

Who This is For:

- Data Analysts

- Business Intelligence Professionals

- Tableau Beginners and Enthusiasts

Prerequisites:

- Basic understanding of Tableau Desktop

Resources:

- Download the sample workbook: https://public.tableau.com/app/profile/andy.kriebel/viz/MonthtoDayDrillDown/Sheet1

- Data: https://data.world/vizwiz/sample-soda-sales

- Tableau official documentation on Set Actions: https://help.tableau.com/current/pro/desktop/en-us/actions_sets.htm


July 25, 2023

The Big Thaw: Exploring the Disappearing Antarctic Sea Ice

No comments
For week 30, we revisited a topic from 2018 week 15 - Arctic sea ice extent. During watch me viz, I focused on rebuilding:

  1. Visualizations from chapter 12 of the Makeover Monday book that showed how to add context to visualizations
  2. Several of the vizzes from 2018 week 15, each with their own unique take on the data
  3. The original viz by The Guardian
In the end, I created 13 visualizations before settling on the viz most similar to the original. There were some great questions today on the livestream. Thank you for that.

When you watch this video, you will definitely learn something new. You'll also learn a lot about how I think through problems when I run into them.

Enjoy! Click on the image below the viz to interact or click here.


January 24, 2023

How to Select a Date Range with a Set Action

No comments
In this tip, I going to show you how to use set actions to select a date range in a line chart and summarize the values in the selected area.

In just a few steps, I’ll show you how to:

1. Create the custom date and set
2. Use the set to create a reference band
3. Color the line within the reference band
4. Calculate the totals sales within the date range
5. Configure the set action

November 22, 2022

#MakeoverMonday Week 47 - Worldwide Railroad Infrastructure Quality Rankings

No comments
This week was a fairly simple data set. Rankings by year by country for a single measure. One thing I found tough to get my head around was the 1-7 scale of the quality ratings. I converted the values to a 1-10 scale instead.

I had limited time for #WatchMeViz, so I quickly went through a few techniques you will find interesting:

  1. Recreating the original bar chart
  2. How to create a bump chart
  3. How to use a diverging color palette and alias country names
  4. How to create a ranked dot plot
  5. How to use parameter actions to sort the view
  6. How to use a filter action to remove the highlighting

This definitely ended up being the largest viz I have ever created (1300x3200). You can view the dashboard below the video. Click on the image to view the interactive version (or click here).

I hope you found it useful. If you did, please give the video a like and either share this post or share the video so that you can help others...pass it along. :-)


November 17, 2022

How to Create a 3 Level Scatterplot Drilldown

No comments

If you want to drilldown multiple levels in a scatterplot, this tip is for you. In this tip, I show you have to create a 3 level drilldown with a scatterplot.

Naturally after I showed how to create a 3 level bar chart drilldown, someone immediately asked how to do it with a scatterplot. Unlike the bar chart drilldown, the scatterplot will only show you marks for the current level. 

For example:

  1. When I’m at the highest level, I see only regions.
  2. When I drill down one level, I only see States within the Region selected
  3. When I drill down one more level, I only see postal codes that are within the region and state I selected.

This example shows you how to drill down from Region to State to Postal Code. To use this for yourself:

  1. Download the workbook
  2. Copy all of the calculations into your workbook
  3. Swap out the dimensions

Note that you will need to recreate the sets and set actions. This will work with any combination of 3 dimensions.

October 25, 2022

How to Create a 3 Level Drill Down in Tableau

No comments

I've showed you in several videos and WatchMeViz live streams how to create a 2 level drill down. And naturally the follow up question is always, how can I go one level deeper? This tip has exactly what you're looking for. I show you how to create a 3 level drill down in Tableau.

This example shows you how to drill down from Category to Sub-Category to Segment. All you need to do for your situation is replace the dimensions I'm using with yours. This will work with any combination of 3 dimensions.

Check out the interactive version below the video.

This type is inspired by this example from Lindsey Poulter - https://public.tableau.com/app/profile/lindsey.poulter8872/viz/SetActionDrilldown/ChooseaMetric



October 24, 2022

#MakeoverMonday Week 43 - How have Major League Baseball Pitch Types Changed?

No comments

This week's data set was pretty simple. We had 21 baseball seasons and a column for each pitch type. Pivoting the metrics made it much easier to work with for me as I could then split the view by pitch type.

During #WatchMeViz (below), I create a trellis view, showed how to create groups, sets, set actions, sparklines, LODs, custom number formatting, creating a mobile view, and more.

Thank you for tuning in. Here's the video and below is my visualization.

October 17, 2022

#MakeoverMonday 2022 Week 42 - Food & Drug Administration Inspections in America

No comments

Having looked at the original visualization this week (here), it was pretty clear to me that the creators desired to create a KPI style dashboard. In a way it's good that I picked up on it that way. However, it wasn't designed particularly uclarly well to communicate most efficiently.

I decided during Watch Me Viz that I would stick with their idea of a KPI dashboard, but design it in a way that I thought would be easier to understand.

As per normal, it took way too long to faff about with the formatting. I made a couple of small changes after I finished the live stream. Click on the image below the video to check it out. Leave a comment on the video on YouTube if you have any questions. (Comments aren't appearing on the blog for some reason).

Have a wonderful week!


September 12, 2022

#MakeoverMonday 2022 Week 37 - Berkshire Hathaway Holdings

No comments

During Watch Me Viz, I covered set actions, parameter actions, highlighting, boolean calculations, table calculation, dashboard layout, and I failed at a starburst chart (I couldn't get the years to sort properly; I'll post it when I figure it out).

Enjoy! Check out the viz below the video.

 

June 22, 2022

How to Sort a Multi-Column Bar Chart with a Parameter Action

No comments
Let's say you have a chart with 1 dimension and 3 measures. You want to make sorting the bar chart by any of the measures as easy as possible. In this tip, I show you how to use parameter actions to sort the bar charts based on the measure you select.

May 31, 2022

Proportional Brushing with a Set Action

No comments
Proportional brushing allows you to view an item you choose from one chart as a proportion of another chart. For example, you can view the sales for Corporate (from the Segment dimension) as a proportion of the sales of each Region.

January 18, 2022

How to Add a +/- Indicator to a Drill Down Action

No comments
In this tip, I show you how to add an indicator before the selected dimension for a set action. This can also be done with a parameter action.

For example, if you click on the East region to drill down to the State level, you will see + East as an indicator. I also show you how to use • as an indicator.

September 21, 2021

#MakeoverMonday 2021 Week 38 - What is your personal information worth?

No comments

Short and sweet this week. The data set is about the price of personal information on the dark web. There are three fields: Category, Product, and Price. To me, this looks like Superstore, so that's how I approached it. How can I visualize two fields that have a hierarchy?

In the video, I show you how to create a drill down with both a set action and a parameter action. Here's the video and below is the visualization.



September 14, 2021

#MakeoverMonday 2021 Week 37 - The World's Largest Solar Power Plants

No comments
I found this week's viz super confusing. I found it hard to track which bar went with which label, how it related to the other parts of the infographic, and ultimately all it required was a simple bar chart.

If you have a look at the video below, you'll see me create a drill down action, using a boolean table calc to color the bars, create a parameter to choose a metric, and lastly I show you how to create different number formats for a single calculation.


August 30, 2021

#MakeoverMonday 2021 Week 35 - Male Circumcision Around the World

No comments

In this week's Watch Me Viz, I started by showing the original visualization, demonstrated how to make a non-geographical field geographical, and then I spent lots of time working through set action drill down.

I showed how to do drill down to two and three levels of dimensions in a hierarchy. Lastly, while building the dashboard, I also showed how to move fields you select in an action to the top of the view with a sorting calculation.

Enjoy!



May 20, 2021

How to Show and Hide Underlying Data with a Set Action

No comments
In this tip, I show you how to use a set action to drill down into the underlying data behind a mark. This example uses a dot plot to go from sales at the category level to then show each underlying sale.

I first saw this technique demonstrated by Lindsey Poulter; I've extended it to include jittering.

May 12, 2021

How to Create a Time Series Drilldown with a Set Action

No comments
In this video, I show you how to use a set action to drill down from a monthly view to a daily view. This technique will work with any date drill down, whether it be year to quarter, year to month, quarter to day, etc.

April 27, 2021

How to Create a Dynamic Quadrant Chart Using a Set Action

No comments
A quadrant chart, by definition, is a scatter plot with a background split into four equal sections. Typically, though, the sections are divided up as to how they compare to the average of both axes. 

In this video, I show you how to make the axes you want to compare to dynamic. I show you how to use a set action to change the reference point to which each quadrant is compared.

March 29, 2021

#MakeoverMonday Week 13 - UK Trade With the EU Since the Brexit Referendum

No comments

I must admit I got a bit stuck with this week's dataset. It was very straightforward and I didn't like how anything turned out. With some ideas from the live audience on YouTube, I started comparing exports, imports and the trade balance. I then thought about a trick I had taught the Data School about using a timeline to filter.

Great, that's it! Wrong! The layout I had in my head was all wrong. I had to move some things around and then getting everything to line up took ages! Why or why isn't formatting easier???

Then, after creating the BANs, someone suggested that it would be good to show a zoomed in version of the line chart for the dates selected. I added those as sparklines with each BAN and it turned out so much better.

Check out and download the viz here.



Watch the video here