Difference between revisions of "ANLY482 AY1516 G1 Team Skulptors - Methodology"

From Analytics Practicum
Jump to navigation Jump to search
Line 31: Line 31:
 
<!--Content Start-->
 
<!--Content Start-->
 
<div align="left">
 
<div align="left">
<div style="background: #d9d9d9; padding: 12px; font-family: Impact; font-size: 18px; font-weight: bold; line-height: 1em; text-indent: 15px; border-left: #595959 solid 32px;"><font color="black">Choice of visualization tools changes (Control Chart vs Tree maps)</font></div>
+
<div style="background: #d9d9d9; padding: 12px; font-family: Impact; font-size: 18px; font-weight: bold; line-height: 1em; text-indent: 15px; border-left: #595959 solid 32px;"><font color="black">Choice of Visualization Tools Changes (Control Chart vs Tree Maps)</font></div>
 
<br/>
 
<br/>
<b>Before – Control chart of warehouse on landing page</b><br/>
+
<b>Before – Control Chart of Warehouse on Landing Page</b><br/>
 
<br/>
 
<br/>
 
The landing page of the dashboard was initially designed with a control chart instead of a tree map as sponsors were unfamiliar with tree maps and its usage. The control chart in a warehouse context is a graph used to study both warehouse inbound and outbound of SKUs over time. Data are plotted in a time order with a central line for the average, an upper line for the control limit (80% percentile), and a lower line for the lower control limit (20% percentile). These lines are determined by the data obtained from the sponsors.<br/>
 
The landing page of the dashboard was initially designed with a control chart instead of a tree map as sponsors were unfamiliar with tree maps and its usage. The control chart in a warehouse context is a graph used to study both warehouse inbound and outbound of SKUs over time. Data are plotted in a time order with a central line for the average, an upper line for the control limit (80% percentile), and a lower line for the lower control limit (20% percentile). These lines are determined by the data obtained from the sponsors.<br/>
 
[[Image:Skulptors-ControlChart.png|500px|link=]]<br/>
 
[[Image:Skulptors-ControlChart.png|500px|link=]]<br/>
 
<br/>
 
<br/>
<b>After – Tree maps of warehouse on landing page</b><br/>
+
<b>After – Tree Maps of Warehouse on Landing Page</b><br/>
 
<br/>
 
<br/>
 
Upon advice from Prof, the team managed to convince the sponsors on the adoption of a tree map on the application’s landing page. A tree map is a method for displaying hierarchical data by using nested rectangles illustrated by different sizes and colors of squares. The control chart on the other hand, will be incorporated as a subset of the treemap. This meant that each click on a specific square on the treemap will brings the sponsor to a page depicting the outbound control chart for that specific put location.<br/>
 
Upon advice from Prof, the team managed to convince the sponsors on the adoption of a tree map on the application’s landing page. A tree map is a method for displaying hierarchical data by using nested rectangles illustrated by different sizes and colors of squares. The control chart on the other hand, will be incorporated as a subset of the treemap. This meant that each click on a specific square on the treemap will brings the sponsor to a page depicting the outbound control chart for that specific put location.<br/>
Line 51: Line 51:
 
# Efficient use of space
 
# Efficient use of space
 
#* In a warehouse context where there are hundreds of SKUs and put away locations, tree map suits the criteria of legibly displaying hundreds of items on the screen simultaneously compared to other charts (Pie, bar charts).<br/>
 
#* In a warehouse context where there are hundreds of SKUs and put away locations, tree map suits the criteria of legibly displaying hundreds of items on the screen simultaneously compared to other charts (Pie, bar charts).<br/>
 +
<br/>
 +
 +
<div align="left">
 +
<div style="background: #d9d9d9; padding: 12px; font-family: Impact; font-size: 18px; font-weight: bold; line-height: 1em; text-indent: 15px; border-left: #595959 solid 32px;"><font color="black">Choice of Visualization Tools Changes (Pie Chart vs Bar charts)</font></div>
 +
<br/>
 +
<b>Before – Usage of Pie Charts for Data Visualization</b><br/>
 +
<br/>
 +
Pie chart was initially opted as one of the visualization graph to be used on the dashboard. However, due to nature of it, the team decided to not use pie chart in the dashboard. This is due to the following reasons.
 +
# Space consuming
 +
#* The space consumed by each slice to form a pie is much more compared to a bar graph. As there is space constraint in the dashboard, Prof did not recommend the usage of it.
 +
# Rigidity in color
 +
#* Unlike in a bar chart where all individual bars can show the same color, in a pie chart, each slice of the pie has to be represented in a unique color or it would not be easy to see. Hence, in this scenario where the team wanted to use a pie chart to show 20 top moving SKUs, it can be really and this can be very distracting (as shown below).
 +
# Misleading and not explicit
 +
#* The data visualization of data is based on a pie hence, it is easily misinterpreted wrongly as it seems less accountant compared to bar graphs. They are thus, often a wrong way to represent subtle but important differences. It is hard to point out which segment is the biggest or smallest, just by looking at the pie chart itself.
 +
#* The initial pie chart was coded in a way to be sort the largest slice to the smallest slice in a clockwise direction. This however, was explicit enough to be picked out by the sponsors.
 +
[[Image:Skulptors-Top20Pie.png|300px|link=]]<br/>
 +
<br/>
 +
 +
<br/>
 +
<b>After – Usage of Bar Charts for Data Visualization</b><br/>
 +
<br/>
 +
Hence, based on the context of this project, the team switched from pie charts to bar charts as it will provide a better summary of a large data set in visual form.
 +
<br/>
 +
[[Image:Skulptors-Top20Bar.png|500px|link=]]<br/>
 +
With the usage of the bar chart now, this will better allow sponsors to do the following:
 +
# Clarification of trends
 +
#* Compared to a pie chart, the bar chart provides a quick visualization and impression of the trend of data. By incorporating a sort feature, this will also allow users to not misinterpret data easily.
 +
# Timeline visualization
 +
#* In a warehouse data analyzation, it is important for sponsors to track the changes of inbound and outbound frequency of SKUs over time. Hence, the usage of bar charts instead of pie charts is preferred in this scenario, as pie charts are unable to track changes over time.<br/>
 +
<br/>
 +
 +
<div align="left">
 +
<div style="background: #d9d9d9; padding: 12px; font-family: Impact; font-size: 18px; font-weight: bold; line-height: 1em; text-indent: 15px; border-left: #595959 solid 32px;"><font color="black">Code Organization and File Arrangements</font></div>
 +
<br/>
 +
<b>Before – Allocation of data were Disorganized</b><br/>
 +
<br/>
 +
Prior to the midterm’s submission, members were individually exploring and working on d3.js for their own assigned feature. Hence, organization of data files were not streamlined across the team.<br/>
 +
[[Image:Skulptors-FileOrgBefore.png|500px|link=]]<br/>
 +
This can be shown in the above folder where there are no form of organization. It was simply a folder to store different data types such as .csv, .js, .html, .css and .png. This was messy and team members had trouble finding the data they wanted as the project grew larger. Integration of code was also a hassle as team hard references to different versions of d3.js libraries.<br/>
 +
 +
<br/>
 +
<b>After – Organized Management of File</b><br/>
 +
<br/>
 +
The team recognized the problem and created individual sub folders for each category for better organization of data. This ensured quick sharing of data, decreased time needed to find specific files and allowed easier integration and code sharing across members. The libraries needed were also downloaded to ensure that there wouldn’t be an event that the codes will be affected should there be an occurrence of a firmware update.<br/>
 +
[[Image:Skulptors-FileOrgAft.png|500px|link=]]<br/>
 +
The segmented folders are separated according to their datatype. In this scenario, the css, data, img, js and library folders are used to store the cascading style sheets used, data obtained from the sponsor, images for web application, JavaScript files and d3 libraries respectively. The html files are all stored at the root of the folder as advised by Prof.
 +
<br/>
 
<br/>
 
<br/>
  

Revision as of 01:12, 28 February 2016

Skulptors-Logo.png

Skulptors-HomeIcon.png   HOME Skulptors-AboutIcon.png   ABOUT US Skulptors-OverviewIcon.png   PROJECT OVERVIEW Skulptors-DataIcon.png   DATA ANALYSIS Skulptors-ProjMgmtIcon.png   PROJECT MANAGEMENT Skulptors-DocIcon.png   DOCUMENTATION
Summary Description Methodology Technology Limitations & ROI


Choice of Visualization Tools Changes (Control Chart vs Tree Maps)


Before – Control Chart of Warehouse on Landing Page

The landing page of the dashboard was initially designed with a control chart instead of a tree map as sponsors were unfamiliar with tree maps and its usage. The control chart in a warehouse context is a graph used to study both warehouse inbound and outbound of SKUs over time. Data are plotted in a time order with a central line for the average, an upper line for the control limit (80% percentile), and a lower line for the lower control limit (20% percentile). These lines are determined by the data obtained from the sponsors.
Skulptors-ControlChart.png

After – Tree Maps of Warehouse on Landing Page

Upon advice from Prof, the team managed to convince the sponsors on the adoption of a tree map on the application’s landing page. A tree map is a method for displaying hierarchical data by using nested rectangles illustrated by different sizes and colors of squares. The control chart on the other hand, will be incorporated as a subset of the treemap. This meant that each click on a specific square on the treemap will brings the sponsor to a page depicting the outbound control chart for that specific put location.
Skulptors-Treemap.png
The rationales of placing the tree map at the landing page is as follows:

  1. Realistic and practical
    • Putting a tree map at the landing page would be appropriate for a warehouse context as it can be used and designed in the form of the warehouse’s floorplan.
  2. High level view of warehouse utilization
    • The different squares of a tree map can be used to depict the put away locations in the warehouse whereas the size of each squares can be used to show the total quantity of SKUs held within it. In addition, the colors of each square can also be used to signify over utilized or underutilization of a warehouse put away location. The control chart on the other hand, only shows micro view of the total outbound from the warehouse.
  3. Ease of problem identification
    • With different color and size dimension correlated in some way with the tree structure, it allows users to spot patterns that would otherwise be difficult. For instance, numerous red squares can easily signify that there the warehouse is not optimally utilized.
  4. Efficient use of space
    • In a warehouse context where there are hundreds of SKUs and put away locations, tree map suits the criteria of legibly displaying hundreds of items on the screen simultaneously compared to other charts (Pie, bar charts).


Choice of Visualization Tools Changes (Pie Chart vs Bar charts)


Before – Usage of Pie Charts for Data Visualization

Pie chart was initially opted as one of the visualization graph to be used on the dashboard. However, due to nature of it, the team decided to not use pie chart in the dashboard. This is due to the following reasons.

  1. Space consuming
    • The space consumed by each slice to form a pie is much more compared to a bar graph. As there is space constraint in the dashboard, Prof did not recommend the usage of it.
  2. Rigidity in color
    • Unlike in a bar chart where all individual bars can show the same color, in a pie chart, each slice of the pie has to be represented in a unique color or it would not be easy to see. Hence, in this scenario where the team wanted to use a pie chart to show 20 top moving SKUs, it can be really and this can be very distracting (as shown below).
  3. Misleading and not explicit
    • The data visualization of data is based on a pie hence, it is easily misinterpreted wrongly as it seems less accountant compared to bar graphs. They are thus, often a wrong way to represent subtle but important differences. It is hard to point out which segment is the biggest or smallest, just by looking at the pie chart itself.
    • The initial pie chart was coded in a way to be sort the largest slice to the smallest slice in a clockwise direction. This however, was explicit enough to be picked out by the sponsors.

Skulptors-Top20Pie.png


After – Usage of Bar Charts for Data Visualization

Hence, based on the context of this project, the team switched from pie charts to bar charts as it will provide a better summary of a large data set in visual form.
Skulptors-Top20Bar.png
With the usage of the bar chart now, this will better allow sponsors to do the following:

  1. Clarification of trends
    • Compared to a pie chart, the bar chart provides a quick visualization and impression of the trend of data. By incorporating a sort feature, this will also allow users to not misinterpret data easily.
  2. Timeline visualization
    • In a warehouse data analyzation, it is important for sponsors to track the changes of inbound and outbound frequency of SKUs over time. Hence, the usage of bar charts instead of pie charts is preferred in this scenario, as pie charts are unable to track changes over time.


Code Organization and File Arrangements


Before – Allocation of data were Disorganized

Prior to the midterm’s submission, members were individually exploring and working on d3.js for their own assigned feature. Hence, organization of data files were not streamlined across the team.
Skulptors-FileOrgBefore.png
This can be shown in the above folder where there are no form of organization. It was simply a folder to store different data types such as .csv, .js, .html, .css and .png. This was messy and team members had trouble finding the data they wanted as the project grew larger. Integration of code was also a hassle as team hard references to different versions of d3.js libraries.


After – Organized Management of File

The team recognized the problem and created individual sub folders for each category for better organization of data. This ensured quick sharing of data, decreased time needed to find specific files and allowed easier integration and code sharing across members. The libraries needed were also downloaded to ensure that there wouldn’t be an event that the codes will be affected should there be an occurrence of a firmware update.
Skulptors-FileOrgAft.png
The segmented folders are separated according to their datatype. In this scenario, the css, data, img, js and library folders are used to store the cascading style sheets used, data obtained from the sponsor, images for web application, JavaScript files and d3 libraries respectively. The html files are all stored at the root of the folder as advised by Prof.


For the list of methodology & technology proposed during the proposal stage, please refer to: Team Skulptors - Methodology & Technology