Day three of Dashboard Week was an exciting day! After the first few weeks of training, we realised we happen to be a particularly sneezy cohort, so we made the decision to start tracking our sneezes. This dashboard is a summary of the sneezy activity of DS55 for the past 120 days!

Planning

I started by planning the questions I wanted to ask and answer within this dashboard:

  • Who is the sneeziest?
  • Who says bless you the most?
  • When have the most sneezes happened?
  • How has weather and pollen affected our sneezing?
  • What allergies have the biggest effect?

Once I had these questions in mind, I began planning charts that could answer them, and produced a sketch in Excalidraw of my final dashboard:

The Data

Next I needed to prepare the data. While I already had the very well accounted sneeze dataset, I also needed allergy and weather data. To find these, I used gemini, asking it to create txt code for the rows and fields I requested. For example, for the pollen patterns I knew I wanted the fields to include date, pollen type, and pollen intensity, with each row to show a pollen type on each date. I then calculated a pollen score: for each pollen type, it got a score on a given date of 1 for low intensity, 2 for medium, 3 for high and 4 for very high. For the weather data, I wanted the fields to include each date and the average temperature on that date.

I bought my weather and pollen date into Tableau and set up relationships between them and the sneeze dataset, using the date fields in each as the relationships.

Building the dashboard

Once I had my data set up in Tableau, I followed the sketch I had created to build the dashboard. 

KPIs:

For the KPIs, I used Fixed LODs to find the call-out values and a comparison value. For example, for the ‘most first bless yous’, I calculated:

Highest number of first bless yous = 

{ FIXED : MAX({ FIXED [First Bless You]: COUNT([Sneezer]) })}

Person who said bless you most =

IF [Max First Blesss Yous]={ FIXED [First Bless You]: COUNT([Sneezer]) }

THEN

[First Bless You]

END

% of total bless yous =

[Max First Blesss Yous] / { Fixed : COUNT([Sneezer]) }

From these I formatted the KPI:

Seasonal Line Chart:

To create the seasonal line chart, I used a couple of parameters to control the view. First I created a ‘Seasonality select’ parameter, which offered three options: Pollen, Temperature and Hide, to determine the second (yellow) line on the chart. I then created a calculated field to assign the selected parameter to the field I wanted to show, and added this to the view:

Similarly, I created a ‘Time’ parameter, with the values Daily and Weekly, with a similar calculated field, to determine how the dates were truncated in the view.

Set Highlights:

For the charts on the bottom row, I used set highlights, to allow the user to select on either a Pollen Type or Sneezer, to highlight the corresponding chart. Looking at the Pollen charts for example, I created a set for the Pollen Types in the view and put this set on colour. Then I created a set dashboard action, with the following configuration:


Final touches:

I added a few whimsical touches to the final dashboard, since this was such a fun project for our cohort. These included the bee info button in the top corner, and the shapes along the bottom, which show some of the quotes from our cohort that were kept alongside entries in the dataset.

Check out the final dashboard here