For #MakeoverMonday week 28, this week it was time to work with Volcano eruption data. We have been hearing lot about disruptions caused by Volcano in last few years and this dataset was about all volcanoes with their geo spatial information and rock type.

Here is the original viz:

original visualization

Data is available on data.world and source of data was Global Volcano Program

Whats good?

  • Color selected to highlight the active and inactive volcanos
  • Label given to known volcanoes which were in news in last few years.
  • Sorting by size showing the elevation height of volcanoes and its type

Here is what I did:

  • Plotted terrain map with the location of each volcanos and if user selects any volcano then details section to state the details along with the tooltip.
  • Added dot plot using shape with their rock types to know about various rock type found in volcanoes
  • splitted the years mentioned into 5 buckets to show how volcanoes eruptions have evolved in last few years

Here is the Image of the visualisation I created (Click on image to get interactive version):

Thanks for visiting blog. Please do let me know your feedback and if any particular topic you would like me to write on.

Do subscribe to Tabvizexplorer.com to keep receive regular updates.

Late post this week on #WorkoutWednesday was set by Ann Jackson and it was about using dot plots to compare current year sales with previous year sales. Generally, we use some form of bar chart to spot the trend over a period but it can get bit messy if we want to compare the same on multiple data points with sorted years. With Dot plots, we can have powerful yet simple visualisation technique to display comparative analysis on multiple data points. There are additional indicator as well to spot the current year values with different color for good and poor against average of sales for selected years.

Requirements

  • Dashboard size: 1250 x 900, 2 sheets, tiled
  • Each dot represents annual sales by subcategory
  • Color of dots:
    • Most recent year below average = pink
    • Most recent year above average = blue
    • Not most recent year = gray
  • Calculation for most recent year should work if data updates and 2018 gets added in (don’t hard code 2017!)
  • Match tooltip language – don’t hard code the number of years, build a calculation!
  • Match formatting: specifically horizontal line, banding, reference line
  • Don’t forget about the legend

Additional year filter so you can see what the tooltips and colors look like

Data for the workout can be downloaded from here

Here is my output for the challenge (Click on Image for interactive version):

Lets go through step by step process of re-creating this dashboard and understand the process of generating similar dashboards in future for our business problems

Step 1: Import the dataset given in above link into Tableau file and create following 3 calculated fields first:

Yearly average sales: This is an dynamic filter to ensure right average amount is picked based on years selected:

Color: To allocate color for current year sales performance (blue or pink) and grey for other years

Tooltip: This is for dynamic tooltip on mouse hover over dots

And last field on Legend (dummy field): This is dummy field to show legend in circle

Now, we are ready to create the worksheets to meet the requirements mentioned above.

Step 2: Drag Category and sub-category from dimensions to rows then convert them into upper-case by using Upper() function:

Then drag sales field from measures to columns and change the chart type to circle

now, create a dummy field in columns using following text min(1) and select the chart type as bar then convert the chart into dual axis

Remove measure names from bar chart and change the axis in bar chart to fixed from 0 to 1 with size almost 0:

Drag upper(sub-category) field into Label for bar chart and change the alignment to top left

Step 3: Once we are through with Bar chart, we will now work on circle chart for dot plot.

Drag Order date to details and remove measure names from color:

Drag Color field which we created in step 1 to color:

Drag tooltip into tooltip and modify the tooltip to match the requirement:

Next is to send bar chart back, for that right click on min(1) on axis and select move marks to back:

Hide the upper(sub-category) field header from rows and apply necessary formatting required along with context filter of Order date and show filter with multiple drop down:

Step 4: create an new sheet for legend and drag legend field to column and colors

Now, combine both the sheets into Dashboard as shown in above complete dashboard image.

Happy Data Visualisation!!!!

Thanks for visiting this post. Please do let me know your feedback and if any particular topic you would like me to write on.

Do subscribe to Tabvizexplorer.com to keep receive regular updates.

For #MakeoverMonday week 27, this week it was time to work on Rats sightings in New York. It was interesting data about Rats sightings in New York City from 2010 till date with details about it.

Here is the original viz was created by Jowanza Joseph and it seemed to be from R:

Data is available on data.world and source of data was NYC Open Data

Whats good?

  • Simple chart with clear axis which makes it easy to understand
  • Cyclic nature of Rats sighting every year
  • Average line to give an indicator about steady growth in sightings

Here is what I did:

  • Use of Bar chart to represent sightings for each year and its growth from previous year
  • Added month wise and year wise heat map which shows the cyclic nature of sightings each year (around May to Aug)
  • Added Map to show the number of sighting based on zip code
  • Borough filter to see visualisation borough wise.

Here is the Image of the visualisation I created (Click on image to get interactive version):

Thanks for visiting blog. Please do let me know your feedback and if any particular topic you would like me to write on.

Do subscribe to Tabvizexplorer.com to keep receive regular updates.

This week on #WorkoutWednesday was set by Rody Zakovich and it was quite an challenge for me to work on it. This workout was more about working with dashboard actions and data modelling. Basically to evaluate how do we can use Actions to create an single sheet drill down to analyze data from year or month or day to day basis.

Requirements

  • THIS IS A SINGLE SHEET. This is not using the 3 sheets in a container technique
  • The first Level is Year, the Second Month and the Third is Day
    • You drill into whatever you click. If you click on 2015 at the Year Level, you will see all 12 months for 2015
    • Users can control->drag to select multiple years/months and Tableau will drill down with all selected.
  • When a user clicks on a Day at the Third Level, the viz resets back to all Years
  • The Sub Header will let the user know the date range in the viz.

Data for the workout can be downloaded from here

Here is my output for the challenge (Click on Image for interactive version):

Lets go through step by step process of re-creating this dashboard and also understanding how easy it can be to implement this feature into your dashboard and make dashboard interactive without adding any new sheets.

Step 1: Import the superstore data into Tableau then drag orders sheet 3 times into data area and you should be able to see something like this:

For this dashboard requirement we need 3 fields i.e. Table Name, order date and sales so we will remove all other fields and go to Sheet 1

Step 2: Before we start the visualisation, we will create all required calculated fields to ensure we have all the fields ready to use:

DrillLevel: Add identifier for Orders union

Year_Month_date: Calculated field to show data Year and monthly format and will be used for BAR chart for Year and Monthly data

Day_date: Calculated field to show day and will be used for LINE chart to show daily data for the month

BarSize: Size of BAR in the sheet

Drill down filters for current and previous level filters:

CurrentLevelFilter:

PreviousLevelFilter:

Step 3: We are ready to start with visualisation now, lets drag Year_month_date and Day_date into rows and sales into columns

Change both date fields into exact date:

For Year_Month_date, select the chart type as Bar chart and line chart for day_date field then convert day_date into dual axis with sync axis. Remove the color tags from both the axis to main blue shade for charts

Drag PreviousLevelFilter into details section under marks area:

Drag Bar Size into Size area for bar chart (Year_Month_date) and have measure value as minimum:

Step 4: Create a Dashboard and drag sheet 1 into Dashboard

Then go to Dashboard –> Action –> add Filter –> set the filter source field as PreviousLevelfilter and Target field as CurrentLevelFilter as shown below:

That’s it our Drilldown report with single sheet is ready. We will need to format and clean the report to make it look like above final report.

You can download the Tableau file from here

Happy Data Visualisation!!!!

Thanks for visiting this post. Please do let me know your feedback and if any particular topic you would like me to write on.

Do subscribe to Tabvizexplorer.com to keep receive regular updates.

For #MakeoverMonday week 26, it was huge dataset about London’s Cycle hire usage (Boris Bikes) :

Here is the original viz was created by Sophie Sparkles:

Screen Shot 2018-06-21 at 12.19.45 pm.png

To access the entire data from 2012 to 2018, one can use Exasol data source shared here or one can download the dataset for 2017 from data.world

Here is what I did:

  • I wanted to see correlation between weekday and hourly data hence use heat map with bar charts to see the data.
  • Added highest and lowest hour highlight
  • Use filter of year to filter for the year and use the map to see all the pick up points in London
  • added interactivity on graphs and maps to provide option to filter on any pick up point and analyze the data

Here is the Gif of the visualisation I created (download on the gif to download the Tableau file):

Use following steps to connect to database post of file:

  • Navigate to the sign-up page to register
  • You will receive an email with your credentials
  • Download the EXASOL driver (Tableau 32 bitTableau 64 bitTableau Mac OS)
  • A connection prompt will appear once you start dragging fields onto your worksheet. Enter your credentials (from the above email) in the connection prompt
  • start your analysis

Thanks for visiting blog. Please do let me know your feedback and if any particular topic you would like me to write on.

Do subscribe to Tabvizexplorer.com to keep receive regular updates.