Difference between revisions of "IS428 AY2019-20T1 Assign Ronald Lay Data Transformation"

From Visual Analytics for Business Intelligence
Jump to navigation Jump to search
Line 24: Line 24:
  
 
|}
 
|}
 +
==Data used for Mini Challenge 1==
 +
*mc1-reports-data.csv
 +
*StHimark.shp
  
 
==Pivoting for categories==
 
==Pivoting for categories==
 
===Issue===
 
===Issue===
The categories are represented in columns, which is difficult when performing the visualization in tableau.
+
The categories are represented in columns, which is difficult when performing the filters and charts in tableau.
  
 
===Solution===
 
===Solution===
  
Pivoting the categories - Medical, Power, Road And Bridges, Sewer And Water and shake intensity are pivoted to enable easier filtering in tableau.
+
Using Tableau prep to perform the pivoting of categories - Medical, Power, Road And Bridges, Sewer & Water and shake intensity - into a column called category and the intensity value is called Reported intensity.
  
 
[[File:Pivoting.png|500px|thumb|center]]
 
[[File:Pivoting.png|500px|thumb|center]]
=====Binning of different intensity level=====
+
==Binning of different intensity level==
The raw data contains categorical data represented by number. However, number representation provides an unclear definition of how each value is perceived by the users. To standardize the definition, alignment of the data 
+
The raw data contains categorical data represented by number. However, number representation provides an unclear definition of how each value is perceived by the users. To standardize the definition, visual binning is performed by aligning the intensity value with instrumental intensity into a number of distinct categories.  
Visual Binning is designed to assist you in the process of creating new variables based on grouping contiguous values of existing variables into a limited number of distinct categories.  
+
[[File:Ronald.Lay.2017_Instrumental_Intensity.PNG|500px|thumb|center]]
[[File:Create_Calculated_Field.png|500px|thumb|center]]
 
 
First, we add step to clean the data and click "create calculated field"
 
First, we add step to clean the data and click "create calculated field"
  
[[File:Create_Calculated_Field.png|500px|thumb|center]]
+
<center><strong>2 steps process</strong></center>
 
+
===<center>Create Calculated field</center>===
Here is the code:
+
[[File:Create_Calculated_Field.png|thumb|center|450px]]
 
+
===<center>Displays Calculation statement as followed</center>===
[[File:Intensity_level_category.PNG|500px|thumb|center]]
+
[[File:Intensity_level_category.PNG|thumb|center|450px]]

Revision as of 22:10, 13 October 2019

Logo VAST Challenge 2019: Mini-Challenge 1

 

Problem & Tasks

 

Data Transformation

Interactive Visualization

 

Answers

Data used for Mini Challenge 1

  • mc1-reports-data.csv
  • StHimark.shp

Pivoting for categories

Issue

The categories are represented in columns, which is difficult when performing the filters and charts in tableau.

Solution

Using Tableau prep to perform the pivoting of categories - Medical, Power, Road And Bridges, Sewer & Water and shake intensity - into a column called category and the intensity value is called Reported intensity.

Pivoting.png

Binning of different intensity level

The raw data contains categorical data represented by number. However, number representation provides an unclear definition of how each value is perceived by the users. To standardize the definition, visual binning is performed by aligning the intensity value with instrumental intensity into a number of distinct categories.

Ronald.Lay.2017 Instrumental Intensity.PNG

First, we add step to clean the data and click "create calculated field"

2 steps process

Create Calculated field

Create Calculated Field.png

Displays Calculation statement as followed

Intensity level category.PNG