46
Library UTS CRICOS PROVIDER CODE 00099F Getting Started with Data Visualisation and Infographics – Tableau Academic

getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

  • Upload
    others

  • View
    9

  • Download
    0

Embed Size (px)

Citation preview

Page 1: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

LibraryUTS CRICOS PROVIDER CODE 00099F

Getting Started with Data Visualisation and Infographics – Tableau Academic

Page 2: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

3 11/4/19 Library

[email protected]

Thishandoutisdesignedtoworkwiththekineteco_orders.xlsxspreadsheetattachedtotheeventdescriptionintheUTSLibrarycalendar.ItcanalsobefoundinChapter2oftheLyndacoursematerialsfoundinthecoursecalledTableauEssentialTraining

Section 1: Getting HelpGettingHelpTableau>helpIncludedaresampleworkbooks,asamplegalleryandtrainingvideos.IfyouclickopenhelpyougetanonlineFAQ.TableaudriversTableau>Help>GetSupportTheseareAPI’stodrawdatafromsourceslikeAmazon,Azure,Dropbox,GoogleAnalytics,GoogleDrive,JSON,Access,SQL,PDFandmoreLynda.comLynda.comhasgoodindepthtrainingonTableau.ThisclasswasdevelopedusingtheTableauEssentialTrainingcoursementionedaboveNewfeaturesinTableau2018

• Atooltipcannowhostasmallvisualisation• YoucanconnectstraighttospatialdatafromaSQLserver(without

needingtoportinthroughcsv)

Page 3: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

4 11/4/19 Library

Section 2: Preparing Data for Tableau

Connecting to a file

Connect>connecttoafile>Excel>kinetecoorders.xlsThisspreadsheetthreesheets–Customersordersandproducts.Pressonthegridattherightofthedatasettoseethedata(itwillpopupinanewwindow).

Doubleclickoncustomerstoaddittotherightofscreen.Doubleclickonordersanditwillgototherightofscreentoo–noticeitmakesanautomaticunionbetweencommonfields.

Mouseoverthejoinanditwilltellyouwhatthejoinis

Doubleclickonproductsandthatwilladditselfandalsocreateajoin.

CleanupsourcedataWhilstourdatasethasnoerrorsyoucanuseTableauusethedatainterpretertofixupnullvaluesanderrorscausedbyhavingheadertitlesplacedinrowoneetc.

Page 4: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

5 11/4/19 Library

Section 3 – Getting started in Tableau

Clicksheet1

Lotsofdatashouldcomethrough

Explaining the layout of a worksheet

DimensionsandmeasuresAbc=atextfield#=anumericalfieldLittleglobeicon=ageographicalfield.

MarksareaThemarksareahelpsyouchangethelookofdataandalsooverlayit.

Page 5: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

6 11/4/19 Library

TheFiltersareaThefiltersarealetsyoumakeselectionsfromadatarange–ie:youwanttolookatsalesonlyfromCaliforniaandnotalloftheUSA,youcandothat

Datavizarea–rowsandcolumnsThisisapivottabletypearrangementthatletyoudisplaythedatainameaningfulwayandletsyouplayaroundwiththecombinationsTableauhas

ShowmeIsthetableofvisualisationsavailableatanytime.Theyareallgreyedoutbecausewehavenodataonthevizarea.Whenwedothevisualisationsitcanmanagewiththatdatawillbeun-greyedout

Page 6: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

7 11/4/19 Library

Back/forwardbuttonsAlwaysuseful!

Make a simple table

Dragadimension,eg:productcategorytocolumnsDragacustomerfullnamedimensiontorowsWenowhaveatablebutnonumbers

Thereasonforthisisthattherearenomeasurementsyettiedtothistable.So,let’sgrabameasurement–say#quantityanddragitoverthistableWenowhaveacustomtable!

Page 7: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

8 11/4/19 Library

Nowthisisshowingushowmanybatteriesorlightbulbsetceveryoneordered.Butifyouwantedtoknowhowmanyorderstheyhadplaced,ratherthanhowmanythingstheyhadpurchasedyoucanfigurethatouttoobyusingthesumpillandchangingthemeasuretocount

Nowweseehowmanyorderseachcustomermade

Show summary feature

FirstminimiseShowMeThenclickWorksheet>showsummary.Thesummarywillgiveyousomestats

Page 8: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

9 11/4/19 Library

aboutthetable.

Page 9: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

10 11/4/19 Library

Section 4 – Manipulating Data in Tableau

Sorting a table

SortingwithinTableauispossiblebyclickingtheheadersandusingthelittlegraphicontosort

Youcanalsoclickonapillandchoosesortformoreadvancedsortoptions.

Adding totals to a crosstab

TableaualsoletsyouaddcalculationstoatablethatmightnothavebeenthereinyouroriginalExcelspreadsheet(orequiv).Let’srunalittlecalculationheretoworkouttotalsFirstremovecustomernamefromrowsbyclickingonthepillandchoosingremoveThen,replaceitwithstate

Page 10: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

11 11/4/19 Library

Tomaketallyoftotalsalesperstategoanalysis>totalsandthentotalstotherightbyselectingthetopoption–showrowgrandtotals

Ehvoila!

Ifyouchoosecolumngrandtotalstooifyoulike(andmanyotherthingsbesides)

Page 11: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

12 11/4/19 Library

Calculate percentages of a table

Saywewanttocalculatepercentagestheproductshaveaddedtothetotalofsales.Marksarea>sum>quicktablecalculation>percentoftotal(Thiswilloverwritedatainthetable)

Voila!

Page 12: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

13 11/4/19 Library

Allofthesethingshelpyoumakeanicecustomvizlateron,ofcourse…

Create a selection filter

Beginbydraggingapillthatisalreadyonthevizpane(eg:states)tothefiltersareaYouthengetaninclude/excludecheckboxlisttofilterwith.

Nowyoucanchoosejustthewestcoaststatesifyouwantanddisplaythem,etc.

Creating a top filter

Youcanalsousefiltertofindthetopandbottomvaluesinadataset.Whilstinfilters,selecttheToptab–youcanthenfindthetopxamountofresults,sortedbywhatevercategoryyoulike

Page 13: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

14 11/4/19 Library

Top10Statesbymeasureofpercentageoftotalsales

Clear calculations

IfIwanttogobacktothetotalsbeforeIcalculatedpercentagesusethedropdownonthegreenpillandchoosecleartablecalculation.

Youcanusethismethodtoclearfilterstoo

Page 14: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

15 11/4/19 Library

Defining a set

Ifyouwantatemporarygroupingofaselection,sayWestCoastoftheUSA–youcancreateaset.Todothisshiftclickabunchofstuff(orctrl-clickiftheyaren’ttogether)Turnsoutwedon’thaveallthestatesofthewestcoastsolet’sdowestoftheRockiesorsomething

Thenrightclick>createset

Page 15: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

16 11/4/19 Library

Thengiveitaname

Nowyouhaveapillthatyoucanuseonthevizarea

Define a group

Ifyouwanttobundleafewentriesinatabletogetheryoucancreateagroup.Similarmethodtomakingasetonlyyouusethepaperclipoption

Whereasasetcreatesaspecialpilltoworkwith,groupshovesentriestogetheronalineinsideanexistingtable

Page 16: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

17 11/4/19 Library

Section 5- Making Visualisations

Creating a highlight table

Showme>Highlighttable

Ifwerunthisonourtableofstatesyougetatablewithcoloursindicatingahighorlownumber(IungroupedAlaskaandCaliforniaetcbeforedoingthis).

Toeditcolourspresscolorinthemarkssection

Page 17: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

18 11/4/19 Library

Basic Charts – Bar Graph

Hitshowmeandthenchoosethebargraphiconseenbelow

Bar chart

Displaysalltheproductsseparatelybystate

Page 18: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

19 11/4/19 Library

Whatifwewantedtoseeeachstatewithalltheproductcategoriestogether?Why,we’djustinverttheorderoftherows,placingstatefirst!

Ifwewantedtochangetheaxiswhatwouldwedo?That’sright,switchcolumnsandrows!

Changing graph colours

Whatifwewantedtochangethecolours?Wecouldgotocoloursandeditcolour

Page 19: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

20 11/4/19 Library

Thiswillchangeallcolumnstoadifferentcolour

Filtering by colour

Whatifwewantedtohaveeachcolumnhaveitsowncolour?Dragproductcategoryovercolourinthemarksarea(whilstleavingitinrows)

Page 20: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

21 11/4/19 Library

Changing the order of items in a visualisation

IfyouwanttochangetheorderofthefeaturesdragaroudtheorderofthingsinthekeyBefore:

After:

Page 21: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

22 11/4/19 Library

Side by Side Bar Chart

YoucanalsomakeaSidebysidebarchartforcolourcomparisons

Makesthecoloursaccordingtostatehere(minimizingshowmerevealsthekey)

Butagain,ifwewantedtohavethecoloursbyproductwecouldfliptheirorderonthecolumnsarea

Page 22: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

23 11/4/19 Library

Makesthis

Stacked Bar Chart

Thesearegoodforbringingdatatogether,thoughtheycangetabitcomplicatedtoread

Page 23: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

24 11/4/19 Library

Titling a ChartDoubleclickonthesheetname

Andchangeit

Page 24: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

25 11/4/19 Library

Changing graph font sizes, labels

Toeditlabelsclickonlabelsinthemarksarea

Hereyoucanchangefontandsize,aswellasaddlabelmarkerswiththetopcheckbox

Labels>showmarklabelswillshownumbersbydatapoints–youcanalsochangethefontsizeetc

Page 25: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

26 11/4/19 Library

Sometimesyoumightwanttomaketextsmallersoitappearsfullyinatightspace(changefontsizetodothis)

Tableauwilladjustlabelcoloursaccordingtobackgrounddarkness

Creating an annotation

Rightclickonthechart>annotate>chooseanareaorapoint

Writesomething

Ifyouwanttomovetheannotationclickonitandthenresizeordragitelsewhereusingthebordercontrols

Page 26: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

27 11/4/19 Library

TimedataandlinechartsToshowyouthesefunctionsfirstwehavetoremoveproductcategoryfrommarks.Thendragatimerelatedofdimensionontothevizpane,eg:year

Insidebysidebarchartmodeitlookslikethis

Page 27: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

28 11/4/19 Library

Ifyourdataissetupright,itmighthaveevenmoredatebasedinformationtoworkwith(eg:quarters).Toexpandthedateusetheplussignoptionontheleftofthetimepill

Nowwehavedatabyquarter:

Creating line charts and area fill charts

Linechartsaregoodattimeseriesdata.Ifweremovestateandreplaceitwithproductcategory

Page 28: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

29 11/4/19 Library

Andthenchoosethelinechart

Andyougetthis

Ifyouclickonquartersagainyougetmonths!

Page 29: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

30 11/4/19 Library

Youcanchangethethicknessofthelineusingsize.

Finallyyoucanrightclickonanaxistoedittherange

Thischangingoftheaxisisn’tveryusefultothisvizbutitmaybeforyours

Page 30: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

31 11/4/19 Library

AddingatrendlinetoachartFirstwemightfilterthissowegetjustoneline:dragproductcategorytofiltersAndjustchooseone

Page 31: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

32 11/4/19 Library

Now,gotoanalytics>model>trendline

Ehvoila

Page 32: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

33 11/4/19 Library

Mousingoverthetrendlinegivesyoudata

Rightclickonthetrendlinetoremoveit.

Page 33: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

34 11/4/19 Library

Section 6 – Making Maps

Makeanewworksheetforthisbit

Create a basic map

Firstyouneedgeographicdatatypes–theoneswiththeglobe,likestateDoubleclickcity,itwilladdlatitudeandlongitudetothecolumnsandrowsandshowyouamap

Now,Tableauisabitfunnywithlocations.Youneedtotellitwherethesecitiesorstatesare.Todothisgotomap>editlocations

Page 34: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

35 11/4/19 Library

ThenchangethecountrytotheUSA

Nowwehaveadotforeverystateinthedatatable

Toaddsalesintensitytothiscurrentviz,whichcurrentlyjustshowswhatstatessaleshavebeenmadein,dragtotalpricetothemarkscard.Nowthedotsizereflectshowmuchmoneyhasbeenspentthere

Page 35: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

36 11/4/19 Library

Mousingovergivesyoustats

Youcanusethepilltochangethevalue:eg:toaveragespentperstate

Page 36: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

37 11/4/19 Library

Fill Maps

Showmealsohasadifferentmaptype–thefillmap

Wherecolourintensitymeansmoresales

Set map options

First-gobacktothedotmapmodeinshowmeDropstateintoFilters,removeAlaska–givesyouacloseupview

Page 37: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

38 11/4/19 Library

Tochangethemapappearancegotomap>maplayersWhichbringsthispanelupontheleftYoucanthenchangethebackgroundstyle(eg:fromlighttonormal)whichprovidesforestsandmorelandformdetail

Checkboxesseenaboveturnonandoffgeographicalfeatures

Page 38: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

39 11/4/19 Library

Hereisthesamemapwithlandcoverturnedoff

Finallyyoucantrythedatalayer,whichhasalotofcanneddata(mightonlyworkwiththeUSAthough)

Choosingpopulationforexamplegivesyouthis

Onceyouhaveadatalayeryoucanchangethecolourschemeifyoulike

Page 39: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

40 11/4/19 Library

Section 7 – Saving, Presentation Mode, Dashboards and Stories

Saving your work

File>save,saveas,reverttosavedSaveasapdfFile>print>pdf=saveaspdf

CreateapackagedworkbookApackagedworkbookisviewableontheTableauviewerplatformabitlikePowerBIwherepeoplethatdon’thavethefullsoftwarecandisplayitFile>exportaspackagedworkbookDisplayavizinpresentationmodePressF7orusethispresentationicon

Justaboutalltheborderswilldisappearleavingyouwithjustafewforwardbackwardtypecontrolsinthebottomright.Presentationmodeleavesintooltipfunctionality.ToexitpressF11orescape

Page 40: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

41 11/4/19 Library

Making a story

Astoryisbasicallyasetofdashboardsyoucanpagethrough.Tomakeonelooktothebottomofscreenandchoosethenewstoryiconwhichlookslikealittlebook.

Whenyouclickonthatmoreiconsappeartotherightallowingyoutoaddelementstoastory.Theworksheetsavailableintheworkbookareontheleft.Dragoneontothevizareatobegin.Tocreateanewpagechoosenewstorypoint>blank

Whichgivesyouanotherlinkedpage

Nowgoanddropyournextsheetinandcontinueinthatway..

Create a dashboard

Adashboardisdifferenttoastoryinthatyouhavevisualisationsthatareallontheonescreen,andthatcaninteractwitheachother.Likeastory,itrequiresthatyouhaveafewdifferenttablesgraphsormapstoworkwith.Tocreateadashboardgotothisiconatthebottomofscreen

Page 41: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

42 11/4/19 Library

Youthendropimagesontothevizareaasyouwouldforastory

Herearethe3sheetsIcreatedononescreen

Page 42: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

43 11/4/19 Library

Arrange and format dashboard entries

Tomoveandresizedashboardelementsclickinthewhitespacearoundanelement.Thenmoreoptions>floating

NowtheelementscanbemovedandresizedMyreconfigureddashboard

Todeleteelementsclickthexinthetopcorner

Page 43: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

44 11/4/19 Library

Define a Filter Action

Todothisclickonanelementonthedashboardandusethefunnel

Nowalltheelementsofyourdashboardwillbefilteredbythethingyouselectfromthegraphortable–eg:landscapelightinginAlabama

CTRL-clickletsyouseemorethanoneatatime

Page 44: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

45 11/4/19 Library

Escapeundoesthisstuff.Toturnofffilteringaltogetherunclickthefunnel

Define a highlight action

Ahighlightactionallowsforpermanentfilteringviaamouseclick.Todothisgotodashboard>actions

Theninthedialoguebox‘addaction’>highlight

INthenextboxyougetbestresultsbychoosingrunactiononselect

Pressok.Thenpressokagainonthisscreen

Page 45: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

46 11/4/19 Library

Nowwhateveryouselectautomaticallyselectseverythingelsethatisrelatedonthedashboard

Addingimages,linksandmoretoadashboardFindobjectsinthebottomleft

Chooseanduploadanimage

Page 46: getting started with data viz · 2019-04-11 · Getting Started with Data Visualisation and Infographics – Tableau Academic ... If you click open help you get an online FAQ

47 11/4/19 Library

And that’s it!