Presentation on theme: "ENV 20063.1 Envisioning Information Lecture 3 – Multivariate Data Exploration Scatter plots and parallel coordinates Ken Brodlie."— Presentation transcript:
ENV Envisioning Information Lecture 3 – Multivariate Data Exploration Scatter plots and parallel coordinates Ken Brodlie
ENV Data Tables Multivariate datasets can be expressed as a data table –Each entry in table is an observation –An observation consists of values of a set of variables, or variates Exercise –Create a data table from the MSc class… ABC variables observations
ENV Scatter Plot For two variates, we have already met the scatter plot technique It is useful for showing what happens to one variable as another changes…
ENV Scatter Plot Visicube from Datamology is a useful free charting tool Here is an example scatter plot, visualizing the speed of the (receding) galaxy NGC7531 relative to the earth, measurements of speed being taken at different points on galaxy Circles represent measurements at 133 o to horizon; pluses at 43 o What can you observe?
ENV D Scatter Plot Visicube has a tool specifically for 3D scatter plots Third variate expressed as a vertical axis and widget lets you take slices at different heights Here we have same dataset but X and Y are positions, and Z axis is velocity … ie layered by velocity – here 3 rd layer (1482 – 1519 km/sec) Observations less than 1500 km/sec highlighted in yellow (almost allowing 4D) Conclusion?
ENV D Scatter Plots Here is an alternative approach, using 3D plotting… … does this work? XRT/3d
ENV Extending to Higher Numbers of Variables Additional variables can be visualized by colour and shape coding IRIS Explorer ( a scientific visualization system!) used to visualize data from BMW –Five variables displayed using spatial arrangement for three, colour and object type for others –Notice the clusters… But there are clearly limits to how much this will scale Kraus & Ertl, U Stuttgart
ENV Multivariate Visualization Techniques Software: –Xmdvtool Matthew Ward n Techniques designed for any number of variables –Scatter plot matrices –Parallel co-ordinates –Glyph techniques Acknowledgement: Many of images in following slides taken from Wards work
ENV What are these?
ENV Multivariate Visualization Example of iris data set –150 observations of 4 variables (length, width of petal and sepal) –Check wikipedia for explanations of petals & sepals –Techniques aim to display relationships between variables – the analytical task Challenge in visualization is to design the visualization to match the analytical task
ENV Scatter Plot Matrices
ENV For table data of M variables, we can look at pairs in 2D scatter plots The pairs can be juxtaposed: A B C C B A With luck, you may spot correlations between pairs as linear structures… or you may observe clusters Scatter Plot Matrices
ENV Scatter Plot Matrix – Iris Data Set
ENV Scatter Plot Matrix – Car Data Set Data represents 7 aspects of cars: what relationships can we notice? For example, what correlates with high MPG?
ENV ABCDEF - create M equidistant vertical axes, each corresponding to a variable - each axis scaled to [min, max] range of the variable - each observation corresponds to a line drawn through point on each axis corresponding to value of the variable Parallel Coordinates
ENV ABCDEF - correlations may start to appear as the observations are plotted on the chart - here there appears to be negative correlation between values of A and B for example - this has been used for applications with thousands of data items Parallel Coordinates
ENV Parallel Coordinates – Iris Data
ENV Parallel Coordinates Example Detroit homicide data 7 variables 13 observations
ENV Parallel Coordinates Concept due to Alfred Inselberg Conceived the idea as a research student in 1959… … idea gradually refined over next 40 years
ENV Parallel Coordinates Parallel coordinates is a clever mechanism for transforming geometry from one space to another To get a handle on the idea, consider two variables X,Y In parallel coordinates, a point (X,Y) becomes… what? A line becomes… what? Why is the ordering of the axes important? Use this space to sketch the answers…
ENV The Screen Space Problem All techniques, sooner or later, run out of screen space Parallel co-ordinates –Usable for up to 150 variates –Unworkable greater than 250 variates Remote sensing: 5 variates, 16,384 observations)
ENV Brushing as a Solution Brushing selects a restricted range of one or more variables Selection then highlighted
ENV Scatter Plot Use of a brushing tool can highlight subsets of data..now we can see what correlates with high MPG
ENV Parallel Coordinates Brushing picks out the high MPG data Can you observe the same relations as with scatter plots? More or less easy?
ENV Parallel Coordinates Here we highlight high MPG and not 4 cylinders