Visual Analytics in R for live feed

Embed Size (px)

Citation preview

  • 7/26/2019 Visual Analytics in R for live feed

    1/96

    Visual Analytics

    b

    y

    10th & 11th March 2016

  • 7/26/2019 Visual Analytics in R for live feed

    2/96

    To be covered

    Visual Analytics basics

    Design Thinking

    Applied Design Thinking in Visual Analytics

    Visual Analytics in Websites Visual Analytics ToolsInterface and Demo Tableau & Power maps

    To be assessed

    1. Group ActivityAnalyse Chicago Data visually (10 Marks) 10th Mar

    2. Visual Analytics Written Test (Theory) (40 marks) 11th

    Mar

    Coming up

  • 7/26/2019 Visual Analytics in R for live feed

    3/96

    Charts and dashboards tools

    claim the Visual analytics label.

    Fastest way to explore and understand data

    Gartner c vouches its a five B.I. trend

    Every company adopting the terms Visual analytics

    Data visualization

  • 7/26/2019 Visual Analytics in R for live feed

    4/96

    So whats is real visual analytics?

  • 7/26/2019 Visual Analytics in R for live feed

    5/96

    Is this Visual Analytics : Cosmos Bank, Taiwan

  • 7/26/2019 Visual Analytics in R for live feed

    6/96

    What Visual Analytics is not

    Lets start with what visual analysis is not:

    Any graphical depiction of data alone is not visual analytics

    Virtually any software application can produce a chart, gauge or dashboard.

    While charts and dashboards are indeed visualizations, they leave out three critical

    steps of visual analytics

    A chart, for instance, shows conclusions, but not the thoughts behind it.

    Nor can users use a chart to ask questions and think further.

    In a chart, the thinking has taken place already and the resulting visualizations arelittle more than a show.

  • 7/26/2019 Visual Analytics in R for live feed

    7/96

    Visual Analytics

    Visual analytics offers something much more profound. Visual analytics is the

    process of analytical reasoning facilitated by interactive visual interfaces

    Three critical steps in Visual Analytics :

    Exploration

    Analysis

    Collaboration

  • 7/26/2019 Visual Analytics in R for live feed

    8/96

    Visual analytics is a means of exploring and understanding data. It supports

    and accelerates the analysis process itself. You can ask a question, get the

    answer, and ask follow-up questionsall within visual interfaces.

    A story unfolds from one visual summary to another. You maintain yourtrain of thought without taking your eyes off the data. Later, you can

    retrace the story to rethink, explore further and share.

    In short, visual analytics allows you to go in any direction with your

    thoughts while leveraging your visual perceptual system to guide you downthe most useful paths.

    Visual Analytics

  • 7/26/2019 Visual Analytics in R for live feed

    9/96

    Data Visualisation

    Visualizations allow our brains to digest large amounts of data in

    a comprehensive and understandable way.

  • 7/26/2019 Visual Analytics in R for live feed

    10/96

    Visualisation trends favour simple

    Simple is viral!

  • 7/26/2019 Visual Analytics in R for live feed

    11/96

    Visualisation trends : Intuitive and connect

  • 7/26/2019 Visual Analytics in R for live feed

    12/96

    The best visualisations are not always online

  • 7/26/2019 Visual Analytics in R for live feed

    13/96

    Elements of Visual Analytics applications

  • 7/26/2019 Visual Analytics in R for live feed

    14/96

  • 7/26/2019 Visual Analytics in R for live feed

    15/96

  • 7/26/2019 Visual Analytics in R for live feed

    16/96

    What is Visual Analytics?

  • 7/26/2019 Visual Analytics in R for live feed

    17/96

    Visual analytics is the representation and

    presentation of data that exploits our

    visual perception abilities in order toamplify cognition.

    -Andy Kirk, author of Data

    Visualization: a successfuldesign process

  • 7/26/2019 Visual Analytics in R for live feed

    18/96

    Lets Look at Some Data

    I II III IV

    x y x y x y x y

    10 8.04 10 9.14 10 7.46 8 6.58

    8 6.95 8 8.14 8 6.77 8 5.76

    13 7.58 13 8.74 13 12.74 8 7.71

    9 8.81 9 8.77 9 7.11 8 8.84

    11 8.33 11 9.26 11 7.81 8 8.47

    14 9.96 14 8.1 14 8.84 8 7.04

    6 7.24 6 6.13 6 6.08 8 5.25

    4 4.26 4 3.1 4 5.39 19 12.5

    12 10.84 12 9.13 12 8.15 8 5.56

    7 4.82 7 7.26 7 6.42 8 7.91

    5 5.68 5 4.74 5 5.73 8 6.89

  • 7/26/2019 Visual Analytics in R for live feed

    19/96

    I II III IV

    x y x y x y x y

    10 8.04 10 9.14 10 7.46 8 6.58

    8 6.95 8 8.14 8 6.77 8 5.76

    13 7.58 13 8.74 13 12.74 8 7.71

    9 8.81 9 8.77 9 7.11 8 8.84

    11 8.33 11 9.26 11 7.81 8 8.47

    14 9.96 14 8.1 14 8.84 8 7.04

    6 7.24 6 6.13 6 6.08 8 5.25

    4 4.26 4 3.1 4 5.39 19 12.5

    12 10.84 12 9.13 12 8.15 8 5.56

    7 4.82 7 7.26 7 6.42 8 7.91

    5 5.68 5 4.74 5 5.73 8 6.89

    Lets Look at Some Data

    Property Value

    Mean of x in each case 9 (exact)

    Variance of x in each case 11 (exact)

    Mean of y in each case 7.50 (to 2 decimal places)

    Variance of y in each case 4.122 or 4.127 (to 3 decimal places)

    Correlation between x and y

    in each case0.816 (to 3 decimal places)

    Linear regression line in each

    casey = 3.00 + 0.500x (to 2 and 3 decimalplaces, respectively)

  • 7/26/2019 Visual Analytics in R for live feed

    20/96

    Lets Look at Some Data Visually

    Anscombes Quartet

    Source: Wikipedia

    https://en.wikipedia.org/wiki/Anscombe%27s_quartet

  • 7/26/2019 Visual Analytics in R for live feed

    21/96

    Agenda

    1. Human Perception and Cognition

    2. Visual Analysis Cycle

    3. Visualization Best Practices

  • 7/26/2019 Visual Analytics in R for live feed

    22/96

    Human Perception &Cognition

  • 7/26/2019 Visual Analytics in R for live feed

    23/96

    Humans Are Slow at Mental Math

    34

    X 72------------------

  • 7/26/2019 Visual Analytics in R for live feed

    24/96

    Were Faster When We Use the World

    34

    X 72------------------

    68

    23180

    ------------------

    2448

  • 7/26/2019 Visual Analytics in R for live feed

    25/96

    Much Faster

    34

    X 72------------------

    68

    23180

    ------------------

    2448

  • 7/26/2019 Visual Analytics in R for live feed

    26/96

    Were Faster When We Can See Data

  • 7/26/2019 Visual Analytics in R for live feed

    27/96

    Were Faster When We Can See Data

  • 7/26/2019 Visual Analytics in R for live feed

    28/96

    Were Faster When We Can See Data

  • 7/26/2019 Visual Analytics in R for live feed

    29/96

    Introduction

    to DesignThinking

  • 7/26/2019 Visual Analytics in R for live feed

    30/96

  • 7/26/2019 Visual Analytics in R for live feed

    31/96

    Design Thinking Process | FIREFLY

  • 7/26/2019 Visual Analytics in R for live feed

    32/96

    Design Thinking Process | FIREFLY

  • 7/26/2019 Visual Analytics in R for live feed

    33/96

  • 7/26/2019 Visual Analytics in R for live feed

    34/96

    Arresting conclusion: Mothers or Hospital staff do not care

    about user manuals or how the machine was intended to be

    used

    This does not mean that mothers or staff are is ignorant, or irresponsible

    but that they care about their babies or want to treat as many babies aspossible

  • 7/26/2019 Visual Analytics in R for live feed

    35/96

    US Department of Energy | IDEOCase Study

    Stylish & efficientwindows

    Retail displays of

    energy-efficientlighting

    Informational &

    educationaltools

  • 7/26/2019 Visual Analytics in R for live feed

    36/96

    After an intensive period of field research, in which the IDEO teamssampled consumer opinions in Mobile, Dallas, Phoenix, Boston, Juneau, and

    Detroit, it came to an arresting conclusion: people do not care

    about energy efficiency (this was the design teams insight through

    observation). This does not mean that the public is ignorant, profligate, or

    irresponsible but that Energy efficiency is an abstraction that is at best a

    means of achieving goals that people really do care about: comfort,

    style, community.

  • 7/26/2019 Visual Analytics in R for live feed

    37/96

    Characteristics ofDesign ThinkingWhat is the essence of Design Thinking?

  • 7/26/2019 Visual Analytics in R for live feed

    38/96

    FINDING SIMPLICITY INCOMPLEXITY

  • 7/26/2019 Visual Analytics in R for live feed

    39/96

    FINDING SIMPLICITY INCOMPLEXITY

    BEAUTY AS WELL AS

    FUNCTIONALITY

  • 7/26/2019 Visual Analytics in R for live feed

    40/96

    FINDING SIMPLICITY INCOMPLEXITY

    BEAUTY AS WELL AS

    FUNCTIONALITY

    IMPROVING QUALITY OF

    EXPERIENCE

  • 7/26/2019 Visual Analytics in R for live feed

    41/96

    FINDING SIMPLICITY INCOMPLEXITY

    BEAUTY AS WELL AS

    FUNCTIONALITY

    IMPROVING QUALITY OF

    EXPERIENCE

    CREATING ELEGANT SOLUTIONS

  • 7/26/2019 Visual Analytics in R for live feed

    42/96

    FINDING SIMPLICITY INCOMPLEXITY

    BEAUTY AS WELL AS

    FUNCTIONALITY

    IMPROVING QUALITY OF

    EXPERIENCE

    CREATING ELEGANT SOLUTIONS

    SERVING THE NEEDS OF THE

    PEOPLE

  • 7/26/2019 Visual Analytics in R for live feed

    43/96

    FINDING SIMPLICITY INCOMPLEXITY

    BEAUTY AS WELL AS

    FUNCTIONALITY

    IMPROVING QUALITY OF

    EXPERIENCE

    CREATING ELEGANT SOLUTIONS

    SERVING THE NEEDS OF THE

    PEOPLE

  • 7/26/2019 Visual Analytics in R for live feed

    44/96

    Who is aDesign Thinker?Behaviours & Actions

  • 7/26/2019 Visual Analytics in R for live feed

    45/96

    OBSERVATION

  • 7/26/2019 Visual Analytics in R for live feed

    46/96

    OBSERVATION

    IMMERSION

  • 7/26/2019 Visual Analytics in R for live feed

    47/96

    OBSERVATION

    IMMERS ION

    EMPATHY

  • 7/26/2019 Visual Analytics in R for live feed

    48/96

    OBSERVATION

    IMMERS ION

    EMPATHY

    OPTIMISM

  • 7/26/2019 Visual Analytics in R for live feed

    49/96

    OBSERVATIO

    NIMMERSION

    EMPATHY

    OPTIMISM

  • 7/26/2019 Visual Analytics in R for live feed

    50/96

    Mindset of a Design Thinker

    Human centered Action oriented Shows, doesnttell

    Radically

    collaborative

    Culture of

    experimentation

    Mindful of the

    process

  • 7/26/2019 Visual Analytics in R for live feed

    51/96

    DESIGN THINKING

  • 7/26/2019 Visual Analytics in R for live feed

    52/96

    People do not always

    do whatyou think they do.

    you tell them to do.

    they think they do.

    they say they do.

    Observation and asking

    why makes you find

    out what peoplereally do and need.

    INSPIRATION empathy map

  • 7/26/2019 Visual Analytics in R for live feed

    53/96

    T k h f d h k

  • 7/26/2019 Visual Analytics in R for live feed

    54/96

    Take home from design thinking

    P V l A b

  • 7/26/2019 Visual Analytics in R for live feed

    55/96

    Preattentive Visual Attributes

  • 7/26/2019 Visual Analytics in R for live feed

    56/96

    8% 0.5%

    http://wearecolorblind.com/articles/quick-tips/http://wearecolorblind.com/articles/quick-tips/
  • 7/26/2019 Visual Analytics in R for live feed

    57/96

    Disaster : Start overlapping shades of colours that have similar

    brightness values but have the potential to seriously clash.

    This can make eyes of colour blind peoplewater. Reds and blues, purples and reds, pinks

    and blues or any combination is a disaster

  • 7/26/2019 Visual Analytics in R for live feed

    58/96

  • 7/26/2019 Visual Analytics in R for live feed

    59/96

    Isn't it amazing that a heavily used product by none

    other than Google, used by millions of websites and

    users. It shows that everyone, big and small, makes these

    mistakes.

    Design thinking in Presenting Visual Analytics andVisualisations can prevent this.

    http://wearecolorblind.com/example/google-analytics/http://wearecolorblind.com/example/google-analytics/
  • 7/26/2019 Visual Analytics in R for live feed

    60/96

  • 7/26/2019 Visual Analytics in R for live feed

    61/96

    Applied Visual Analytics

  • 7/26/2019 Visual Analytics in R for live feed

    62/96

    Visual Analytic in Website usability

  • 7/26/2019 Visual Analytics in R for live feed

    63/96

  • 7/26/2019 Visual Analytics in R for live feed

    64/96

  • 7/26/2019 Visual Analytics in R for live feed

    65/96

    Click tracking

  • 7/26/2019 Visual Analytics in R for live feed

    66/96

    Click tracking

    Heat maps in site design?

  • 7/26/2019 Visual Analytics in R for live feed

    67/96

    24% clicks at he wrong place, simple design change

    and 122% increase in conversions in this site

    Heat maps in site design?

  • 7/26/2019 Visual Analytics in R for live feed

    68/96

    The Cycle of VisualAnalysis

    Th C l fV l A l

  • 7/26/2019 Visual Analytics in R for live feed

    69/96

    The Cycle of Visual Analysis

    S h C l

  • 7/26/2019 Visual Analytics in R for live feed

    70/96

    Supporting the Cycle

    Interactive: allow people to easily and incrementally change the data andhow they are looking at it

    Expressive: there is no single view for all tasks and all data

    Unified: leverage the revolutionary changes in database technology

    Direct: make the tool disappear so the user can directly interact with the

    data

    click click

  • 7/26/2019 Visual Analytics in R for live feed

    71/96

    Applying Design Thinking in Visualization

    Best Practices Overview

  • 7/26/2019 Visual Analytics in R for live feed

    72/96

    Best Practices Overview

    1. Representing data for humans

    2. Color

    3. Maps

    4. Creating dashboards

    Types of Data

  • 7/26/2019 Visual Analytics in R for live feed

    73/96

    Types of Data

    Qualitative (nominal / categorical) Arizona, New York, Texas

    Sarah, John, Maria

    Coors, Bud Light, Stella Artois

    Qualitative (ordinal) Gold, silver, bronze

    Excellent health, good health, poor health Love it, like it, hate it

    Quantitative Weight (10 lbs, 20 lbs, 5000 lbs)

    Cost ($50, $100, $0.05)

    Discount (5%, 10%, 12.8%)

    How Do Humans LikeTheir Data?

  • 7/26/2019 Visual Analytics in R for live feed

    74/96

    How Do Humans Like Their Data?

  • 7/26/2019 Visual Analytics in R for live feed

    75/96

  • 7/26/2019 Visual Analytics in R for live feed

    76/96

    How Do Humans LikeTheir Data?

  • 7/26/2019 Visual Analytics in R for live feed

    77/96

    How Do Humans Like Their Data?

    Position

    Color

    Size

    Shape

    More

    important

    Less

    important

    How Do Humans LikeTheir Data?

  • 7/26/2019 Visual Analytics in R for live feed

    78/96

    How Do Humans Like Their Data?

    Time: on an x-axis Location: on a map

    Comparing values: bar

    chart

    Exploring relationships:

    scatter plot Relative proportions:

    treemap

    How Do Humans LikeTheir Data?

    http://www.tableausoftware.com/public/gallery/london-bushttp://www.tableausoftware.com/public/gallery/london-bus
  • 7/26/2019 Visual Analytics in R for live feed

    79/96

    How Do Humans Like Their Data?

    Orient data so people can read it easily

    Better

    Good

    Color Me Impressed

  • 7/26/2019 Visual Analytics in R for live feed

    80/96

    Color Me Impressed

    Color perception is relative, not absolute

    Color Me Impressed

  • 7/26/2019 Visual Analytics in R for live feed

    81/96

    Color Me Impressed

    Provide a consistent background

    Color Me Impressed

  • 7/26/2019 Visual Analytics in R for live feed

    82/96

    Color Me Impressed

    Humans can only distinguish ~8 colors

    This is not helpful.

    Color Me Impressed

  • 7/26/2019 Visual Analytics in R for live feed

    83/96

    Color Me Impressed

    Humans can only distinguish ~8 colors

    This is helpful.

    Color Me Impressed

  • 7/26/2019 Visual Analytics in R for live feed

    84/96

    Color Me Impressed

    For quantitative data, color intensity and

    diverging color palettes work well

    Mapping to Insight

  • 7/26/2019 Visual Analytics in R for live feed

    85/96

    Mapping to Insight

    Use maps when location is relevant

    Mapping to Insight

  • 7/26/2019 Visual Analytics in R for live feed

    86/96

    Mapping to Insight

    Use maps when location is relevant

    Mapping to Insight

  • 7/26/2019 Visual Analytics in R for live feed

    87/96

    Mapping to Insight

    Use filled maps (choropleth's) for defined

    areas and only ONE measure

    Mapping to Insight

  • 7/26/2019 Visual Analytics in R for live feed

    88/96

    app g to s g t

    Dont use maps just because you can

    Dashboards

  • 7/26/2019 Visual Analytics in R for live feed

    89/96

    Dashboards bring together multiple views

  • 7/26/2019 Visual Analytics in R for live feed

    90/96

  • 7/26/2019 Visual Analytics in R for live feed

    91/96

    5 second usability test

  • 7/26/2019 Visual Analytics in R for live feed

    92/96

    A five second test is a usability testing method in which the

    participant is exposed to an image or visualisation for five

    seconds.

    The image is then removed and the participant is asked

    questions about what they remember seeing. The test is

    used for evaluating how well a visualisation communicatesthe purpose and content within.

    y

    Dashboards

  • 7/26/2019 Visual Analytics in R for live feed

    93/96

    Dashboards should pass the 5-second test

    Dashboarding for the 5-second Test

    http://ryrobes.com/visual-analytics-and-data-porn/finding-bigfoot-data-visualize-the-squatch/http://ryrobes.com/visual-analytics-and-data-porn/finding-bigfoot-data-visualize-the-squatch/
  • 7/26/2019 Visual Analytics in R for live feed

    94/96

    g

    Most important view

    goes on top or top-left Legends go near their

    views

    Avoid using multiple

    color schemes on asingle dashboard

    Use 5 views or fewer

    in dashboards

    Provide interactivity

    Dashboarding for the 5-second Test

  • 7/26/2019 Visual Analytics in R for live feed

    95/96

    g

    Use your words!

    Titles Axes

    Key facts and figures

    Units

    Remove extra digitsin numbers

    Great tooltips

  • 7/26/2019 Visual Analytics in R for live feed

    96/96