http://www.cs.ubc.ca/~tmm/courses/547-15
Ch 7+8: Tables, Spatial Data
Tamara Munzner Department of Computer Science University of British Columbia
CPSC 547, Information Visualization Day 8: 6 October 2015
Ch 7+8: Tables, Spatial Data Tamara Munzner Department of Computer - - PowerPoint PPT Presentation
Ch 7+8: Tables, Spatial Data Tamara Munzner Department of Computer Science University of British Columbia CPSC 547, Information Visualization Day 8: 6 October 2015 http://www.cs.ubc.ca/~tmm/courses/547-15 News clarification on artery
http://www.cs.ubc.ca/~tmm/courses/547-15
CPSC 547, Information Visualization Day 8: 6 October 2015
– diverging colormap since doctors care about high and low values
– personal communication with Borkin, not clearly stated in paper
– vis for presentation (versus discovery/exploration)
– catch up on chapters, leave papers for Thu
– I have office hours on Tuesdays – pitches are coming up Thu Oct 22 – start talking to me about project ideas!
2
3
Encode Arrange Express Separate Order Align Use
4
Express Values Separate, Order, Align Regions Separate Order
1 Key 2 Keys 3 Keys Many Keys
List Recursive Subdivision Volume Matrix
Align Axis Orientation Layout Density Dense Space-Filling Rectilinear Parallel Radial
5
– independent attribute – used as unique index to look up items – simple tables: 1 key – multidimensional tables: multiple keys
– dependent attribute, value of cell
– 0, 1, 2, many...
1 Key 2 Keys 3 Keys Many Keys
List Recursive Subdivision Volume Matrix
Express Values Tables
Attributes (columns) Items (rows) Cell containing value
Multidimensional Table
Value in cell
– quantitative attributes
– data
– mark: points – channels
– tasks
– scalability
6
[A layered grammar of graphics.
Express Values
– using space to separate (proximity) – following expressiveness principle for categorical attributes
7
1 Key 2 Keys 3 Keys Many Keys
List Recursive Subdivision Volume Matrix
– data
– mark: lines – channels
– separated horizontally, aligned vertically – ordered by quant attrib » by label (alphabetical), by length attrib (data-driven)
– task
– scalability
8
100 75 50 25 Animal Type 100 75 50 25 Animal Type
– data
– mark: vertical stack of line marks
– channels
– aligned: full glyph, lowest bar component – unaligned: other bar components
– task
– scalability
9
[Using Visualization to Understand the Behavior of Computer Systems. Bosch. Ph.D. thesis, Stanford Computer Science, 2001.]
– emphasizing horizontal continuity
– data
– derived data
– scalability
– more than stacked bars, since most layers don’t extend across whole chart
10
[Stacked Graphs Geometry & Aesthetics. Byron and Wattenberg. IEEE Trans. Visualization and Computer Graphics (Proc. InfoVis 2008) 14(6): 1245–1252, (2008).]
– data
– mark: points
– channels
– task
– connection marks emphasize ordering of items along key axis by explicitly showing relationship between
11
20 15 10 5 Year
– bar charts if categorical – line charts if ordered
– violates expressiveness principle
it overrides semantics!
– “The more male a person is, the taller he/she is”
12
after [Bars and Lines: A Study of Graphic Communication. Zacks and
1073–1079.]
Female Male
60 50 40 30 20 10
Female Male
60 50 40 30 20 10
10-year-olds 12-year-olds
60 50 40 30 20 10 60 50 40 30 20 10
10-year-olds 12-year-olds
– data
– marks: area
– indexed by 2 categorical attributes
– channels
– (ordered diverging colormap)
– task
– scalability
13
1 Key 2 Keys
List Matrix
Many Keys
Recursive Subdivision
– derived data
– dendrogram
– heatmap
14
15
– rectilinear axes, point mark – all possible pairs of axes – scalability
– parallel axes, jagged line representing item – rectilinear axes, item as point
– scalability
16
after [Visualization Course Figures. McGuffin, 2014. http://www.michaelmcguffin.com/courses/vis/]
Math Physics Dance Drama Math Physics Dance Drama Math Physics Dance Drama
100 90 80 70 60 50 40 30 20 10
Scatterplot Matrix Parallel Coordinates
Math Physics Dance Drama 85 90 65 50 40 95 80 50 40 60 70 60 90 95 80 65 50 90 80 90
Table
– positive correlation
– negative correlation
– uncorrelated
– positive correlation
– negative correlation
– uncorrelated
17
[Hyperdimensional Data Analysis Using Parallel Coordinates.
(1990), 664–675.] [A layered grammar of graphics. Wickham.
19:1 (2010), 3–28.]
– radial axes meet at central ring, line mark
– radial axes, meet at central point, line mark
– rectilinear axes, aligned vertically
– length unaligned with radial
18
[Vismon: Facilitating Risk Assessment and Decision Making In Fisheries Management. Booshehrian, Möller, Peterman, and Munzner. Technical Report TR 2011-04, Simon Fraser University, School of Computing Science, 2011.]
– area marks with angle channel – accuracy: angle/area much less accurate than line length
– area marks with length channel – more direct analog to bar charts
– 1 categ key attrib, 1 quant value attrib
– part-to-whole judgements
19
[A layered grammar of graphics.
– part-to-whole judgements
– stacked bar chart, normalized to full vert height – single stacked bar equivalent to full pie
– information density: requires large circle
20
http://bl.ocks.org/mbostock/3887235, http://bl.ocks.org/mbostock/3886208, http://bl.ocks.org/mbostock/3886394.
3/21/2014 bl.ocks.org/mbostock/raw/3887235/ http://bl.ocks.org/mbostock/raw/3887235/ 1/1 <5 5-13 14-17 18-24 25-44 45-64 ≥65 3/21/2014 bl.ocks.org/mbostock/raw/3886394/ http://bl.ocks.org/mbostock/raw/3886394/ 1/1 UT TX ID AZ NV GA AK MSNMNE CA OK SDCO KSWYNC AR LA IN IL MNDE HI SCMOVA IA TN KY AL WAMDNDOH WI OR NJ MT MI FL NY DC CT PA MAWV RI NHME VT 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% Under 5 Years 5 to 13 Years 14 to 17 Years 18 to 24 Years 25 to 44 Years 45 to 64 Years 65 Years and Over 3/21/2014 bl.ocks.org/mbostock/raw/3886208/ http://bl.ocks.org/mbostock/raw/3886208/ 1/1 CA TX NY FL IL PA OH MI GA NC NJ VA WA AZ MA IN TN MO MD WI MN CO AL SC LA KY OR OK CT IA MS AR KS UT NV NMWV NE ID ME NH HI RI MT DE SD AK ND VT DC WY 0.0 5.0M 10M 15M 20M 25M 30M 35M Population 65 Years and Over 45 to 64 Years 25 to 44 Years 18 to 24 Years 14 to 17 Years 5 to 13 Years Under 5 Years 3/21/2014 bl.ocks.org/mbostock/raw/3886394/ http://bl.ocks.org/mbostock/raw/3886394/ 1/1 UT TX ID AZ NV GA AK MSNMNE CA OK SDCO KSWYNC AR LA IN IL MNDE HI SCMOVA IA TN KY AL WAMDNDOH WI OR NJ MT MI FL NY DC CT PA MAWV RI NHME VT 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% Under 5 Years 5 to 13 Years 14 to 17 Years 18 to 24 Years 25 to 44 Years 45 to 64 Years 65 Years and Over21
[Glyph-maps for Visually Exploring Temporal Patterns in Climate Data and Models. Wickham, Hofmann, Wickham, and Cook. Environmetrics 23:5 (2012), 382–393.]
22
– more in afternoon
– angles lower precision than lengths – asymmetry between angle and length
[Uncovering Strengths and Weaknesses of Radial Visualizations - an Empirical Approach. Diehl, Beck and Burch. IEEE TVCG (Proc. InfoVis) 16(6):935--942, 2010.]
– Chap 7: Arrange Tables
23
24
Use Given Geometry
Geographic Other Derived
Spatial Fields
Scalar Fields (one value per cell) Isocontours Direct Volume Rendering Vector and Tensor Fields (many values per cell) Flow Glyphs (local) Geometric (sparse seeds) Textures (dense seeds) Features (globally derived)
– when central task is understanding spatial relationships
– geographic geometry – table with 1 quant attribute per region
– use given geometry for area mark boundaries – sequential segmented colormap
25
http://bl.ocks.org/mbostock/4060606
– geographic geometry – scalar spatial field
– isoline geometry
specific levels of scalar values
26
Land Information New Zealand Data Service
– scalar spatial field
– isosurface geometry
specific levels of scalar values
– spatial relationships
27
[Interactive Volume Rendering
– transfer function maps scalar values to color, opacity
– derived data in joint 2D histogram
(direction of fastest change)
histograms later]
28
[Multidimensional Transfer Functions for Volume Rendering. Kniss, Kindlmann, and Hansen. In The Visualization Handbook, edited by Charles Hansen and Christopher Johnson, pp. 189–210. Elsevier, 2005.] A B C A B C D E F Data Value
– many attribs per cell
– flow glyphs
– geometric flow
trajectories
– texture flow
– feature flow
– encoded with one of methods above
–
29
[Comparing 2D vector field visualization methods: A user study. Laidlaw et al. IEEE Trans. Visualization and Computer Graphics (TVCG) 11:1 (2005), 59–70.] [Topology tracking for the visualization of time-dependent two-dimensional flows. Tricoche, Wischgoll, Scheuermann, and Hagen. Computers & Graphics 26:2 (2002), 249–257.]
– finding critical points, identifying their types – identifying what type of critical point is at a specific location – predicting where a particle starting at a specified point will end up (advection)
30
[Comparing 2D vector field visualization methods: A user study. Laidlaw et al. IEEE Trans. Visualization and Computer Graphics (TVCG) 11:1 (2005), 59–70.] [Topology tracking for the visualization of time-dependent two-dimensional flows. Tricoche, Wischgoll, Scheuermann, and Hagen. Computers & Graphics 26:2 (2002), 249–257.]
– 3D vector field
– streamlines: trajectory particle will follow
– curvature, torsion, tortuosity – signature: complex weighted combination – compute cluster hierarchy across all signatures – encode: color and opacity by cluster
– find features, query shape
– millions of samples, hundreds of streamlines
31
[Similarity Measures for Enhancing Interactive Streamline Seeding. McLoughlin,. Jones, Laramee, Malki, Masters, and. Hansen. IEEE Trans. Visualization and Computer Graphics 19:8 (2013), 1342–1353.]
– Chap 8: Arrange Spatial Data
32
– VAD Ch. 9: Networks – Topological Fisheye Views for Visualizing Large Graphs, Emden Gansner, Yehuda Koren and Stephen North. IEEE TVCG 11(4):457-468, 2005.
33