You are on page 1of 26

Data preparation

A N A LY Z I N G D ATA I N TA B L E A U

Lis Sulmont
Head of Curriculum Expansion at
DataCamp
Data preparation
Ask yourself...

Do any elds need to be re ned?

Are there calculated elds we can create to more e ectively tell our data story?

Does the data contain elds that will allow for summaries or grouping at a higher level?

Are there su cient categorical elds to slice and dice your data?

ANALYZING DATA IN TABLEAU


1 Photo credit: Arvell Dorsey Jr. from Chicago, IL, United States

ANALYZING DATA IN TABLEAU


Divvy dataset: stations table
id : ID a ached to each station

name : station name

latitude : station latitude

longitude : station longitude

docks : number of docks at the station

ANALYZING DATA IN TABLEAU


Divvy dataset: trips table
Trips taken between Jan - June, 2019

trip id : ID a ached to each trip

bikeid : ID a ached to each bike

tripduration : time of trip in seconds

starttime : day and time trip started (CST)


to station name : station name of end
endtime :day and time trip ended (CST)
usertype : customer or subscriber
from station id : station ID of trip start
birthyear : birth year of rider
from_station_name : station name of start
gender : gender of rider
to station id : station ID of trip end

ANALYZING DATA IN TABLEAU


Dimension and measure recap
Dimensions:

Categorical or qualitative data

Measures:

Numerical data that can be aggregated

We want to move elds strategically between these two types:

Move numeric elds that shouldn't be aggregated to the Dimensions section

ANALYZING DATA IN TABLEAU


Let's practice!
A N A LY Z I N G D ATA I N TA B L E A U
Preparing the data
A N A LY Z I N G D ATA I N TA B L E A U

Lis Sulmont
Head of Curriculum Expansion at
DataCamp
Let's practice!
A N A LY Z I N G D ATA I N TA B L E A U
Calculated Fields to
extend data
A N A LY Z I N G D ATA I N TA B L E A U

Lis Sulmont
Head of Curriculum Expansion at
DataCamp
Let's practice!
A N A LY Z I N G D ATA I N TA B L E A U
Visualizations for
exploratory analysis
of trends
A N A LY Z I N G D ATA I N TA B L E A U

Lis Sulmont
Head of Curriculum Expansion at
DataCamp
Looking for trends
Marketing opportunities

Scheduling maintenance

Managing size and scheduling of sta

Increasing or decreasing product stock or


availability

Hourly, daily monthly, annual

ANALYZING DATA IN TABLEAU


Configuring data on Tableau

ANALYZING DATA IN TABLEAU


Discrete or continuous time analysis?
Discrete (bins):

Trends by hour, day of the week, month, etc

Continuous (time series):

Presenting data over time in the sequence it historically occurred

ANALYZING DATA IN TABLEAU


ANALYZING DATA IN TABLEAU
ANALYZING DATA IN TABLEAU
ANALYZING DATA IN TABLEAU
ANALYZING DATA IN TABLEAU
ANALYZING DATA IN TABLEAU
Continuous vs. discrete

ANALYZING DATA IN TABLEAU


Let's practice!
A N A LY Z I N G D ATA I N TA B L E A U
Discrete time
analysis and Quick
Table Calculations
A N A LY Z I N G D ATA I N TA B L E A U

Lis Sulmont
Head of Curriculum Expansion at
DataCamp
Let's practice!
A N A LY Z I N G D ATA I N TA B L E A U
Slicing and dicing
A N A LY Z I N G D ATA I N TA B L E A U

Lis Sulmont
Head of Curriculum Expansion at
DataCamp
Let's practice!
A N A LY Z I N G D ATA I N TA B L E A U

You might also like