CS 235: User Interface Design April 14 Class Meeting Department of Computer Science San Jose State University Spring 2015 Instructor: Ron Mak www.cs.sjsu.edu/~mak.

Slides:



Advertisements
Similar presentations
Using Charts and Graphs in the Classroom
Advertisements

The visual display of quantitative data Joyce Chapman, Consultant for Communications & Data Analysis State Library of North Carolina,
Mission Geography Introduction to the National Geography Standards Geography for Life.
An Overview of the Common Core State Standards for Mathematical Practice for use with the Common Core Essential Elements The present publication was developed.
Scientific Communication and Technological Failure presentation for ILTM, July 9, 1998 Dan Little.
Data Mining.
CS1100: Computer Science and Its Applications Creating Graphs and Charts in Excel.
Playa del Rey Elementary School S.T.E.M. Science Fair
WPI Center for Research in Exploratory Data and Information Analysis From Data to Knowledge: Exploring Industrial, Scientific, and Commercial Databases.
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
CS 235: User Interface Design December 8 Class Meeting Department of Computer Science San Jose State University Fall 2014 Instructor: Ron Mak
CS 235: User Interface Design November 24 Class Meeting Department of Computer Science San Jose State University Fall 2014 Instructor: Ron Mak
CS 235: User Interface Design November 12 Class Meeting Department of Computer Science San Jose State University Fall 2014 Instructor: Ron Mak
Wheeler Lower School Mathematics Program Grades 4-5 Goals: 1.For all students to become mathematically proficient 2.To prepare students for success in.
Charts and Graphs V
SharePoint 2010 Business Intelligence Module 6: Analysis Services.
1 Effective Communication Through Graphs: The do's and don'ts. Juan Paulo Ramírez PPC Brown Bag Meeting 29 November 2007.
CS 235: User Interface Design November 26 Class Meeting Department of Computer Science San Jose State University Fall 2014 Instructor: Ron Mak
1 1 Slide Introduction to Data Mining and Business Intelligence.
CS 235: User Interface Design December 1 Class Meeting Department of Computer Science San Jose State University Fall 2014 Instructor: Ron Mak
Big Idea 1: The Practice of Science Description A: Scientific inquiry is a multifaceted activity; the processes of science include the formulation of scientifically.
Scientific Visualization CS 521 CS 521 Spring ’05 Spring ’05 Eli, Drew, Shaz Eli, Drew, Shaz.
Introduction to Science Unit 1. The Nature of Science Attempt to answer questions about the natural world by: Exploring the unknown Explaining the known.
The Scientific Method Honors Biology Laboratory Skills.
Fall 2002CS/PSY Information Visualization Picture worth 1000 words... Agenda Information Visualization overview  Definition  Principles  Examples.
Tools of Environmental ScienceSection 1 Section 1: Scientific Methods Preview Objectives The Experimental Method Observing Hypothesizing and Predicting.
Environmental Science
Data Visualization Seminar NCDC, April Todd Pierce Module 1 Data Visualization.
An Internet of Things: People, Processes, and Products in the Spotfire Cloud Library Dr. Brand Niemann Director and Senior Data Scientist/Data Journalist.
Tools of Environmental Science Chapter 2. The Experimental (Scientific) Method Series of steps that scientists worldwide Series of steps that scientists.
Exploring Data Section 1.1 Analyzing Categorical Data.
Sort the graphs. Match the type of graph to it’s name.
Presenting and Summarizing Data The Goal Is To Put Together A Coherent and Meaningful Story.
Creating Usable Data Usable Data and “Actionable” Information Jonathan Callahan Mazama Science M AZAMA S CIENCE Data – Information – Knowledge.
Data Visualization Lecture 8. Data Visualization Historically, data visualization served to make hidden relationships comprehensible or complex ones visible.
Data Mining BY JEMINI ISLAM. Data Mining Outline: What is data mining? Why use data mining? How does data mining work The process of data mining Tools.
Worth 1,000 Words How to use information graphics to make data meaningful National Association for Career and Technical Education Information May 17, 2012.
CS 235: User Interface Design May 5 Class Meeting Department of Computer Science San Jose State University Spring 2015 Instructor: Ron Mak
GEOG 370 Christine Erlien, Instructor
Introduction to ScienceSection 3 Key Ideas 〉 Why is organizing data an important science skill? 〉 How do scientists handle very large and very small numbers?
CS 235: User Interface Design November 19 Class Meeting Department of Computer Science San Jose State University Fall 2014 Instructor: Ron Mak
CONFIDENTIAL Data Visualization Katelina Boykova 15 October 2015.
CS 235: User Interface Design April 30 Class Meeting Department of Computer Science San Jose State University Spring 2015 Instructor: Ron Mak
Environmental Science Chapter 2 Notes “Tools of Environmental Science” 1.
Tools of Environmental Science. 2-1Scientific Methods Objectives 1.List and describe the steps of the experimental method. 2.Describe why a good hypothesis.
Books Visualizing Data by Ben Fry Data Structures and Problem Solving Using C++, 2 nd edition by Mark Allen Weiss MATLAB for Engineers, 3 rd edition by.
Chapter 1 Section 2 Scientific Methods. What are Scientific Methods What do Scientists use scientific methods for? To answer questions and to solve problems.
Data Visualization Data visualization is the presentation of data in a pictorial or graphical format. For centuries, people have depended on visual representations.
CS 235: User Interface Design April 28 Class Meeting Department of Computer Science San Jose State University Spring 2015 Instructor: Ron Mak
CS 235: User Interface Design December 10 Class Meeting Department of Computer Science San Jose State University Fall 2014 Instructor: Ron Mak
MIS 420: Data Visualization, Representation, and Presentation Content adapted from Chapter 2 and 3 of
#1 Make sense of problems and persevere in solving them How would you describe the problem in your own words? How would you describe what you are trying.
Using Graphs and Charts Organizing results from Scientific data.
Tools of Environmental ScienceSection 1 Ecolog. Tools of Environmental ScienceSection 1 DAY ONE Chapter 2 Tools of Environmental Science Section 1: Scientific.
CS 160 and CMPE/SE 131 Software Engineering March 22 Class Meeting Department of Computer Science Department of Computer Engineering San José State University.
Charts- what type to pick?
Techniques for Decision-Making: Data Visualization Sam Affolter.
CS 235: User Interface Design May 12 Class Meeting Department of Computer Science San Jose State University Spring 2015 Instructor: Ron Mak
DATA VISUALIZATION BOB MARSHALL, MD MPH MISM FAAFP FACULTY, DOD CLINICAL INFORMATICS FELLOWSHIP.
SCIENCE TEST 35 Minutes; 40 Questions; 7 Passages 5 – 7 questions per passage 5 minutes per passage Evaluates your ability to reason scientifically 3 Question.
Chapter 2 sect 1 Objectives List and describe the steps of the experimental method. Describe why a good hypothesis is not simply a guess. Describe the.
MIS2502: Data Analytics Advanced Analytics - Introduction
CMPE 280 Web UI Design and Development October 10 Class Meeting
ALA Anaheim 2012 LLAMA – MAES
Environmental Science
CSc4730/6730 Scientific Visualization
Environmental Science
CMPE 280 Web UI Design and Development March 26 Class Meeting
MIS2502: Data Analytics Introduction to Advanced Analytics and R
Presentation transcript:

CS 235: User Interface Design April 14 Class Meeting Department of Computer Science San Jose State University Spring 2015 Instructor: Ron Mak

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Some Sources of Data for Visualization  Google “datasets for data visualization”         2

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Data Visualization  False: We have too much information. Data represents a wealth of potential.  True: We don’t know how to make the best use of the data. Today’s software tools can assist us in doing data analysis. The tools’ effectiveness depend on how skilled we are in using them. 3

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak What is Data Analysis?  Analysis: Take things apart to understand them.  Data analysis: Make sense of data. Meanings reside in data.  Take the data apart to understand relationships among the parts. How does this part relate to that part? Are they similar or different? How are they changing? Does one part’s change cause another part to change? 4

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Data Analysis Tools  Wrong:  Correct: 5 Data Analysis Tool DataDecisions Data Analysis Tool DataDecisions Data Visualization

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Data Analysis Tools, cont’d  Tableau Public Create data visualizations for the web. Choose from a palette of visual widgets. Free:  D3.js Javascript library for manipulating documents based on data. HTML, SVG, and CSS Allows great control over the visual result. Free: 6

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Data Analysis Tools, cont’d  Highcharts Javascript library to create interactive web charts. Free: 7

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Why Analyze Data?  Understand and manage what’s happening now. Causes Descriptive analytics  Predict what is likely to happen in the future. Create opportunities Prevent problems Determine what actions will cause this future. Predictive analytics  Help with decision-making. Prescriptive analytics 8

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Becoming Acquainted with a Data Set  Ways to become acquainted with a data set for the first time. See the paper: ess_intelligence/exploratory_vistas.pdf ess_intelligence/exploratory_vistas.pdf 9

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Tables vs. Graphs  These tables give us the data we need: The precise amount of sales revenue, marketing expense, and profit for a specific region during a specific month. 10 Now You See It by Stephen Few Analytics Press, 2009

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Tables vs. Graphs, cont’d  We need graphs to understand the relationships within and among sales revenues, marketing expenses, and profits.  Graphs tell a story or provide a narrative.  Well-designed visualizations make the stories visible and bring them to life. 11

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Tables vs. Graphs, cont’d  Line graphs that focus on change over time: 12 Despite low revenue, the east region generated the highest profit margins in the spring and winter. The spikes correspond to increases in marketing expenses in the spring and winter. Now You See It by Stephen Few Analytics Press, 2009

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Tables vs. Graphs, cont’d  Scatter plot of correlations between revenues, profits, and marketing expenses by region. 13 Extremely low marketing expenses in April in the west. Strong correlation between marketing expenses and revenues in the south. May and November peaks in eastern profits. Now You See It by Stephen Few Analytics Press, 2009

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak What is Data Visualization?  Information visualization Computer-generated interactive representations of abstract data in order to foster understanding. Example: sales, revenue, expense data  Scientific visualization Visual representations of scientific data that are usually physical in nature. Example: an MRI scan 14 Data visualization Information visualizationScientific visualization

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak A Brief History of Data Visualization 15 Now You See It by Stephen Few Analytics Press, 2009

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak A Brief History of Data Visualization, cont’d  2 nd century CE Egypt: Tabular arrangements of astronomical data.  17 th century René Descartes invents the two-dimensional graph.  18 th century Scottish social scientist William Playfair invents the bar graph, the line graph to represent change over time, and the pie chart. 16

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak A Brief History of Data Visualization, cont’d  An original graph by William Playfair: 17

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak A Brief History of Data Visualization, cont’d  1869 Graph by Charles Minard of Napolean’s French troops during the Russian Campaign,

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak A Brief History of Data Visualization, cont’d  1967 Jacques Bertin publishes Sémiologie Graphique (Semiology of Graphics) Introduced the concept of visual language. Argued that visual perception operated according to rules that could be followed to clearly, accurately, and efficiently express information in a visual format.  1977 Princeton statistics professor John Tukey publishes Exploratory Data Analysis. A new approach to statistics. 19

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak A Brief History of Data Visualization, cont’d  1983 Data visualization expert Edward Tufte publishes The Visual Display of Quantitative Information. Effective ways to display data visually.  1984 Apple introduces the Macintosh computer.  1985 Statistician William Campbell at Bell Labs publishes The Elements of Graphing Data. Refined and extended the use of visualization. 20

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak A Brief History of Data Visualization, cont’d  1986 National Science Foundation (NSF) sponsors “Panel on Graphics, Image Processing and Workstations”.  1987 Report Visualization in Scientific Computing  1990 First IEEE Visualization Conference 21

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak What is Data Visualization? cont’d 22 Data Visualization Activities Exploration Sense-making Communication Technologies Information visualization Scientific visualization Graphical presentation Immediate goalUnderstanding End goalGood decisions

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Traits of Meaningful Data  High volume More information increases the chance we’ll find what we need or see something interesting.  Historical Make sense of the present by seeing patterns from the past.  Consistent Keep the data consistent despite changes over time. Adjust the data as necessary to current definitions. 23

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Traits of Meaningful Data, cont’d  Multivariate The more variables we have when trying to make sense of data, the richer the opportunities for discovery.  Atomic Able to drill down to the lowest level of detail. Don’t omit details when storing data.  Clean “Garbage in, garbage out”. Information that is accurate, complete, and error-free. 24

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Traits of Meaningful Data, cont’d  Clear Not cryptic. Expressed in familiar terms.  Dimensionally structured Dimensions and measures (facts). Dimensions are categorical data.  Examples: departments, regions, products, time Measures are quantitative data.  Examples: sales, profits, revenue, expenses 25

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Traits of Meaningful Data, cont’d  Richly segmented Segmented into meaningful groups  Examples: geographic regions, product categories  Known pedigree How did the data come to be. Where did it came from. How was it calculated. 26

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Visual Perception  Our eyes are drawn to familiar patterns. We see what we know and expect. 27 Can you see the dolphin? Now You See It by Stephen Few Analytics Press, 2009

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Visual Perception, cont’d  Memory plays an important role in cognition. Working memory is extremely limited. 28 Now You See It by Stephen Few Analytics Press, 2009

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Visual Perception, cont’d Working memory is extremely limited, cont’d. What changed? 29 Now You See It by Stephen Few Analytics Press, 2009

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Make Abstract Data Visible  What is wrong with this graph? 30 It doesn’t make sense to encode the values as a line. The departments are independent of each other and have no particular order. Now You See It by Stephen Few Analytics Press, 2009

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Make Abstract Data Visible, cont’d  A more reasonable graph: 31 Now You See It by Stephen Few Analytics Press, 2009

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Make Abstract Data Visible, cont’d  Which graph best allows you to rank and compare the top sales regions? 32 Now You See It by Stephen Few Analytics Press, 2009

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Pre-Attentive Attributes  Attributes of visual images that we perceive pre-attentively—prior to conscious awareness. length width orientation size shape curvature enclosure 33 spatial grouping blur hue color intensity 2-D position direction of motion

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Pre-Attentive Attributes, cont’d 34

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Use of Pre-Attentive Attributes 35 Now You See It by Stephen Few Analytics Press, 2009

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Use of Pre-Attentive Attributes, cont’d  Sales revenue by region:  Add profits by region: 36 Now You See It by Stephen Few Analytics Press, 2009

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Use of Pre-Attentive Attributes, cont’d  Heat map: 37 Now You See It by Stephen Few Analytics Press, 2009

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Use of Pre-Attentive Attributes, cont’d  Heat map: 38 Now You See It by Stephen Few Analytics Press, 2009

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Quantitative Perceptions 39 Now You See It by Stephen Few Analytics Press, 2009

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Prerequisites for a Successful Data Analyst  Interested You must care about the data. Sense that what you do is important and valuable.  Curious Enjoy figuring things out. Wonder how things work or why they happen. Crave information.  Self-motivated Don’t need to be told what to do. 40

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Prerequisites, cont’d  Open-minded and flexible Willingness to accept what you find. Willingness to discover that you are wrong.  Imaginative Creativity to navigate unknown territories. Repeatedly ask “what if I try this?”  Skeptical Never be entirely sure of the data or the methods. Be willing to look from a different perspective. 41

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Prerequisites, cont’d  Aware of what’s worthwhile Have priorities. Not all data is equally valuable.  Methodical Repeat known successful processes until the goal is reached.  Capable of spotting patterns Discern patterns of meaning within visual representations of data. Spot meaningful patterns and ignore the rest. 42

Computer Science Dept. Spring 2015: April 14 CS 235: User Interface Design © R. Mak Prerequisites, cont’d  Analytical Recognize the individual parts of something complex and how the parts relate to one another.  Synthetical Look at pieces and see how they may fit together. See the big picture.  Familiar with data Understand the rules and meanings of data.  Skilled in the practices of data analysis 43