Difference between revisions of "ISSS608 2017-18 T3 Assign Vaishnavi Praveen Agarwal Visual"
Line 58: | Line 58: | ||
The data has a total of 106 chemicals (12 groups) and 10 places. I want to analyze the trend of each measure at all the places for years 1998 - 2016. This visualization will help to compare the average values and select the place that has the highest reading of a measure. | The data has a total of 106 chemicals (12 groups) and 10 places. I want to analyze the trend of each measure at all the places for years 1998 - 2016. This visualization will help to compare the average values and select the place that has the highest reading of a measure. | ||
+ | |||
+ | <div style="margin:0px; padding: 2px; font-family: Arial; border-radius: 1px; text-align:left"> | ||
+ | {| class="wikitable" style="background-color:#FFFFFF;" width="100%" | ||
+ | |- | ||
+ | | | ||
+ | <b>Create a Calculated Field</b> | ||
+ | |||
+ | The measures have three different units: <b>mg/l,</b> <b>µg/l,</b> and °C. The unit for average value should change according to the measure, therefore we will use this calculated field to automate the y-axis label. | ||
+ | |||
+ | *Right click on Dimension and select Create Calculated Field | ||
+ | *Name it as Automatic_Axis | ||
+ | *The formula for the calculated field is as shown in the picture. | ||
+ | |||
+ | || | ||
+ | |||
+ | <span style=text-align:center;">[[Image:Vaishnavi_9.png|500px|thumb|center]]</span> | ||
+ | |||
+ | |- | ||
+ | | | ||
+ | <b>Add Filters</b> | ||
+ | |||
+ | The user should be able to visualize the measure of their choice, therefore the graph should filter the data according to the selected measure. | ||
+ | |||
+ | *Create a hierarchy of Groups and Measures, this will allow the user to select a group and then select a measure of that group. | ||
+ | *Drag and drop <b>Groups</b> and <b>Measures</b> to Filters. | ||
+ | *Click on the fields in filters, select Show Filter and select the Filters to be Single Value (list). | ||
+ | |||
+ | || | ||
+ | |||
+ | <span style=text-align:center;">[[Image:Vaishnavi_10.png|400px|thumb|center]]</span> | ||
+ | |||
+ | |- | ||
+ | | | ||
+ | <b>Plotting the Graph</b> | ||
+ | |||
+ | *<b>Columns:</b> Location, YEAR(Sample Date) | ||
+ | *<b>Rows:</b> Automatic_Axis, AVG(Value) | ||
+ | *<b>Details:</b> Measure, Groups, Location, YEAR(Sample Date) | ||
+ | *<b>Tooltip:</b> Measure, Groups, Location, YEAR(Sample Date), AVG(Value) | ||
+ | *<b>Title:</b> Measure, Groups | ||
+ | |||
+ | |||
+ | <span style="color:red"><b>NOTE*</b></span> The Measure for Value is selected as Average(AVG) because there are various readings taken every year, and to compare the readings across years I have plot the value of a measure in a year as the average of all the readings in that year. | ||
+ | |||
+ | || | ||
+ | |||
+ | <span style=text-align:center;">[[Image:Vaishnavi_11.png|500px|thumb|center]]</span> | ||
+ | |||
+ | |} | ||
+ | </div> | ||
+ | |||
+ | ==Month-wise Readings== | ||
+ | |||
+ | This graph will give the user month-wise readings of the selected measure, for the selected place and year. This can help the user get a detailed insight as for which month the readings are high, and is there any particular month where the reading are high. | ||
<div style="margin:0px; padding: 2px; font-family: Arial; border-radius: 1px; text-align:left"> | <div style="margin:0px; padding: 2px; font-family: Arial; border-radius: 1px; text-align:left"> |
Revision as of 21:53, 7 July 2018
|
|
|
|
|
|
Dimensions and Measures
The finals dataset contains various columns and the columns are divided into Dimensions and Measures in Tableau based on their properties. Before starting with the Visualization, lets get familiar with the available Dimensions and Measures.
Measure by Location
The data has a total of 106 chemicals (12 groups) and 10 places. I want to analyze the trend of each measure at all the places for years 1998 - 2016. This visualization will help to compare the average values and select the place that has the highest reading of a measure.
Create a Calculated Field The measures have three different units: mg/l, µg/l, and °C. The unit for average value should change according to the measure, therefore we will use this calculated field to automate the y-axis label.
|
|
Add Filters The user should be able to visualize the measure of their choice, therefore the graph should filter the data according to the selected measure.
|
|
Plotting the Graph
|
Month-wise Readings
This graph will give the user month-wise readings of the selected measure, for the selected place and year. This can help the user get a detailed insight as for which month the readings are high, and is there any particular month where the reading are high.
Create a Calculated Field The measures have three different units: mg/l, µg/l, and °C. The unit for average value should change according to the measure, therefore we will use this calculated field to automate the y-axis label.
|
|
Add Filters The user should be able to visualize the measure of their choice, therefore the graph should filter the data according to the selected measure.
|
|
Plotting the Graph
|