IS428 AY2019-20T1 Assign Ng Kai Ling Bernice Dataset

From Visual Analytics for Business Intelligence
Revision as of 15:53, 4 October 2019 by Bernice.ng.2016 (talk | contribs)
Jump to navigation Jump to search

Title ng kai ling bernice va.png



Dataset Transformation

Before proceeding to explain how data is transformed to prepare for data visualization, we were given 3 datasets in csv format as follows:

  • MobileSensorReadings.csv: contains radiation level measurements from various mobile sensors over a period of time.
  • StaticSensorReadings.csv: contains radiation level measurements from various static sensors placed in specific locations over a period of time.
  • StaticSensorLocations.csv: contains location information on where the static sensors are placed at.

In addition to that, shapefiles which are used for creating custom choropleth map were provided.

Removing Redundant Data

However, in the given data (both MobileSensorReadings and StaticSensorReadings), the "Units" column has "cpm" for all the values as shown below which is not in use.

Mobile Sensors Data

Mobile sensor data - redundant data ng kai ling bernice.png

Static Sensors Data

Static sensor data - redundant data ng kai ling bernice.png

Solution: Hence, by using Tableau Prep Builder, the "Units" column are removed by following the steps shown below.

Steps to remove redundant data ng kai ling bernice.png

Dataset Import Structure & Process

With the dataset analysis and transformation phase completed, the following files will have to be imported into Tableau for analysis:

  • MobileSensorReadings.csv (formatted from data Transformation)
  • StaticSensorReadings.csv (formatted from data Transformation)
  • StaticSensorLocations.csv (formatted from data Transformation)
  • StHimark.shp (shapefile)

Data Connections

  • MobileSensorReadings.csv

    MobileSensorReadings.csv is added as a data connection without any further processing.


  • StaticSensorLocations.csv

    StaticSensorLocations.csv is added as another source inner joined with StaticSensorReadings.csv. Below are the steps to further process the data (refer to the image show below):

  • Import StaticSensorLocations.csv as a data source.
  • Drag StaticSensorReadings.csv from the left panel to th top right panel.
  • Add inner join between these 2 data, mapping "Sensor-id" from StaticSensorLocations.csv connection to "=" with "Sensor-id" from StaticSensorReadings.csv connection

Static readings and location sensor join data ng kai ling bernice.png


  • StHimark.shp

    StHimark.shp is added as another data source inner joined with the MobileSensorReadings.csv. Below are the steps to further process the data (refer to the image show below):

  • Import StHimark.shp as a data source.
  • Import another connection using MobileSensorReadings.csv file.
  • Add inner join between these 2 data source, mapping "Geometry" from StHimark.shp connection to "Intersects" with "MAKEPOINT([Lat],[Long])" from MobileSensorReadings.csv connection.

Shapefile mobile sensor join data ng kai ling bernice.png