DSCI 320 - Conceptual

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/284

encourage image

There's no tags or description

Looks like no tags are added yet.

285 Terms

1
New cards

in terms of encodings what are 5 things to look into to determine if a chart is problematic?

  1. encoding

  2. expressiveness

  3. effectiveness

  4. discriminability

  5. interval vs ratio data


2
New cards

In terms of EDA what are 3 things to look into to determine if a chart is problematic?

  1. data quality

  2. missing values

  3. provenance (data collection)


3
New cards

what are 6 things to consider in terms of perception to determine if a chart is problematic?

  1. accuracy ranking

  2. stevens’ power law

  3. integral and separable channels

  4. popout

  5. gesalt grouping

  6. change blindness


4
New cards

what is the task abastraction principle to follow and not violate

the chart fits the user’s task

5
New cards

what are 3 multi-view principles to follow and not violate

  1. small multiples on a common scale

  2. eyes beat memory

  3. meaningful interactions serve a task


6
New cards

what are 4 principles related to colors and maps that should not be violated

  1. data type matches sequential, diverging or categorical colors

  2. one color = one meaning

  3. color deficiency friendly

  4. counts or rates represented properly


7
New cards

what words should a chart have?

Chart titles, subtitles, and captions (titles claim only what the chart shows; subtitles say what's measured; captions back it up)

8
New cards

what are the 4 principles of a honest design?

  1. framing

  2. scaling

  3. projecting

  4. recording


9
New cards

Data

Symbols, facts, or figures that represent properties of objects, events, or phenomena. People create data by measuring, counting, observing, and describing the world.

10
New cards

Dataset

An organized collection of data

11
New cards

Semantics

The real-world meaning attached to data. A value such as “5” is not meaningful without knowing what it represents

12
New cards

Item

One entity represented in a dataset. In a table, an item usually corresponds to one row

13
New cards

Attribute

A property measured or recorded for each item. In a table, an attribute usually corresponds to one column

14
New cards

Cell

The value for one item–attribute pair. It is the value at the intersection of a row and column

15
New cards

Key

The attribute or combination of attributes that makes each row unique

16
New cards

Composite key

A key made from multiple attributes. For example, country and year may need to be combined to identify a row uniquely

17
New cards

Data type

The structural interpretation of data based on the comparisons and operations the values support. In visualization, this differs from programming types such as int, float, and str

18
New cards

Dataset type

The overall structure used to organize items, attributes, links, or positions. Examples include tables, networks, fields, and geometry

19
New cards

what are the 7 dataset types that were listed in class?

  1. table

  2. network

  3. node

  4. link

  5. field

  6. geometry


20
New cards

table

A dataset in which items are stored in rows and attributes are stored in columns

21
New cards

network definition and example

A dataset containing nodes and links that represent explicit relationships between items.

  • tree: a network with a hierarchical structure (a node is an item in a network or tree and a link is an explicit relationship between two nodes)


22
New cards

field

a dataset containing a value sampled at every position on a grid, such as an image, scan or climate model

23
New cards

geometry (dataset)

spatial data describing locations in two or three dimensions such as pixels or longitude and latitude

24
New cards

4 attribute types

  1. nominal - Categories with no meaningful order. You can determine whether values are the same or different. Examples include country or region.

  2. ordinal - Categories with a meaningful order, but without meaningful arithmetic differences. Examples include low, medium, and high.

  3. quantitative - Numeric values on which arithmetic can be performed. Quantitative data may be interval or ratio data.

  4. temporal - Dates or times. Temporal data is quantitative data with a calendar attached.


25
New cards

discrete vs continuous data

Discrete data: Quantitative values that occur as separate, countable values.

Continuous data: Quantitative values that can take any value within a range.

26
New cards

categorical attribute

A general term for values representing categories. Nominal data is categorical, and ordinal data is ordered categorical data.

27
New cards

interval vs ratio attribute

Interval attribute: A quantitative attribute whose zero point is arbitrary or conventional. Differences are meaningful, but ratios are not. Examples include Celsius temperature, calendar years, and dates. (can only subtract)

Ratio attribute: A quantitative attribute with a meaningful zero that represents a real absence of the measured quantity. Differences and ratios are meaningful. Examples include weight, income, population, and counts.

28
New cards

arbitrary vs meaningful zero

Arbitrary zero: A zero selected by convention rather than representing the absence of a quantity. For example, 0°C does not mean “no temperature.”

Meaningful zero: A zero that represents a genuine absence of the measured quantity, such as zero population or zero kilograms.

29
New cards

Unit-change test

A way to check whether an arithmetic operation is meaningful. If the result represents something real, it should remain consistent after converting units.

30
New cards

data abstraction

Describing domain-specific data using general structural concepts such as items, attributes, attribute types, and cardinality.

31
New cards

Task abstraction

Describing why a person is examining the data and what the person needs to accomplish

32
New cards

Visual and interaction encoding

Describing how the data is visually presented and how a user can interact with it

33
New cards

data model

A formal or mathematical description of the values and the operations defined on those values. Examples include integers, floating-point values, and strings.

34
New cards

conceptual model

The meaning assigned to values and the reasoning those values support. It is usually shaped by the task.

35
New cards

Data transformation

Changing how data is represented or summarized to support a particular task. The decision should be guided by the task.

36
New cards

Cardinality

The number of distinct values an attribute takes. For nominal and ordinal data, it is the number of categories; for quantitative data, consider the range and whether values are discrete or continuous; for temporal data, consider the range and step.

37
New cards

Level, range and step meaning

  • Level: One distinct value or category of an attribute.

  • Range: The span from the minimum to the maximum value of a quantitative or temporal attribute.

  • Step: The increment between consecutive temporal values, such as one year


38
New cards

point-mark (0D)

A zero-dimensional mark. Its size and shape are available to encode additional attributes.

39
New cards

line-mark (1D)

A one-dimensional mark. Its length is determined by the geometry, but its width can encode another attribute.

40
New cards

interlocking area mark (2D)

A two-dimensional mark whose length and width are both determined by its geometry. Size and shape are therefore unavailable for additional attributes.

41
New cards

Representation effect

The idea that the selected marks and channels affect what information viewers can perceive and how accurately viewers can perceive it.

42
New cards

Discriminability

How easily viewers can perceive differences between levels encoded on a visual channel.

43
New cards

expressiveness vs effectiveness

expressiveness: A visual encoding should represent all and only the information contained in the data attribute. The channel type must match the attribute type.

effectiveness: the most important attributes for the task should use the most accurately perceived available channels

44
New cards

accuracy

how precisely viewers can interpret or compare values encoded by a channel

45
New cards

Psychophysics

The experimental study of relationships between physical stimuli and human perception. The channel accuracy ranking is based on this type of research

46
New cards

general magnitude-channel ranking

(Spatial position ranks highly for both ordered and categorical information. However, the ranking only identifies which channel is read more accurately. It does not determine which attribute is most important; that depends on the user's task)

  • Position on a common scale

  • Unaligned position

  • Length

  • Tilt or angle

  • Area

  • Depth

  • Color luminance

  • Color saturation

  • Curvature

  • Volume


47
New cards

visualization grammar:

A small set of parts and rules used to describe, design, and create visualizations in a structured way.

48
New cards

Grammar of Graphics

A theoretical framework that describes visualizations as combinations of components rather than as fixed chart types

49
New cards

Layered grammar

A visualization framework in which components are combined in layers

50
New cards

Vega, Vega-Lite and Vega-Altair

Vega: A declarative language for interactive graphics

Vega-Lite: A declarative JSON language for producing interactive visualizations.

Vega-Altair: The Python visualization library used in the course. Altair generates Vega-Lite specifications

51
New cards

declarative visualization

A visualization approach in which you specify what should be represented rather than manually drawing every element

52
New cards

Vega-chart object

An Altair object that connects data to a visualization specification

53
New cards

mark method

An Altair method such as mark_point() that selects the geometric primitive

54
New cards

encoding specification

The part of an Altair chart that binds data attributes to visual channels

55
New cards

Type suffix

An Altair annotation that explicitly states an attribute's visualization type. [lec2A (3).pdf | PDF]

  • :N: Nominal

  • :O: Ordinal

  • :Q: Quantitative

  • :T: Temporal


56
New cards

Type inference

Altair's attempt to determine an attribute's type automatically when the type is not stated explicitly.

57
New cards

aggregation vs count aggregation

Aggregation: Combining multiple observations into a summary value.

Count aggregation: Counting the number of records in each group.

58
New cards

how can attribute type depend on task?

A number's storage type does not determine its visualization type. A numeric postal code can be nominal, while a year may be temporal, quantitative, or ordinal depending on the question.

The same values can support multiple valid abstractions. Temperature could be:

  • Quantitative when forecasting.

  • Ordinal when classified as cold, warm, or hot.

  • Categorical when divided into above-freezing and below-freezing groups. [lec2B (5).pdf | PDF]

Therefore, do not classify a field using its values alone. Ask what comparisons and reasoning the task requires.

59
New cards

explain how the meaning of ratios differs between interval and ratio data?

  • Interval data: Differences are meaningful, but ratios are not.

  • Ratio data: Differences and ratios are meaningful.

  • “20°C is twice 10°C” is not meaningful because Celsius has an arbitrary zero.

  • “60 kg is twice 30 kg” is meaningful because zero kilograms represents no weight.


60
New cards

what does bar length require?

a meaningful zero; ratio data

  • A bar represents a value using its distance from zero. Therefore, bar length is appropriate only when zero represents a real absence of the quantity. It is appropriate for weight, income, population, and counts, but not for Celsius temperature, calendar years, or other interval attributes. Position can represent interval data because position communicates differences rather than ratios from zero.

    Quick test: If changing the measurement unit changes the apparent ratio between bar lengths, the bar encoding is not expressing a meaningful relationship.


61
New cards

what is the approximate useable steps for the following depending on distinguishability?

line width, color hue, shape, position

  • Line width: about 4

  • Color hue: about 5–8

  • Shape: about 5

  • Position: very many

Do not encode dozens of categories using hue or shape. Move a high-cardinality attribute to position and reserve color or shape for attributes with fewer categories.

62
New cards

how can a channel communicate more than one attribute?

Sorted position can communicate:

  • Identity: which category the mark represents.

  • Rank: where the category falls in the ordered list.

Alphabetical position normally communicates identity only. Be careful with arbitrary ordering because viewers may interpret order as meaningful.

63
New cards

Mark dimensionality

The number of spatial or structural properties required to define a mark. Marks can be classified as 0D, 1D, or 2D

64
New cards

Spatial freedom

A spatial property that remains available for representing an attribute after the mark's geometry is established

65
New cards

Structural readability

The clarity gained by reserving spatial properties to define the mark's structure

66
New cards

Mark constraint

A limitation created because the geometry of a mark already uses certain spatial or visual properties. The chosen mark determines which channels remain available.

67
New cards

Retinal channel

A non-positional visual property, such as color, size, or shape, that can vary without changing a mark's location.

68
New cards

Aligned position vs unaligned position

Aligned position: Position measured from a shared baseline or common zero. It supports highly accurate comparisons.

Unaligned position: Position measured from different baselines or reference frames. Viewers must mentally translate between the scales, making comparisons less accurate.

69
New cards

relative judgement vs absolute judgement

  • Relative judgment: Comparing one value with another rather than reading a value directly.

  • Absolute judgment: Estimating or retrieving an individual value from its visual encoding.


70
New cards

distractor

Distractor: A visual element that interferes with perceiving or comparing the information that matters

71
New cards

redundant encoding

Representing the same attribute using more than one visual channel. For example, a category may be represented by both color hue and stacking order. Redundancy is not automatically a problem

72
New cards

angular position

Angular position: The location of a mark around a circle. It is different from the size of an angle

73
New cards

radial length

Radial length: Distance from the center of a circular chart. It is a one-dimensional magnitude channel.

74
New cards

cyclic attribute

Cyclic attribute: An ordered attribute whose final value connects back to its first value, such as months in a year.

75
New cards

gridline

Gridline: A reference line that helps viewers judge values against an axis or scale.

76
New cards

regular bar chart

A chart showing one variable across categories using bars that share a common baseline. It supports accurate magnitude comparisons.

77
New cards

grouped/clustered bar chart explanation and strength

A chart placing several bars side by side within each category. It supports comparisons within and between groups, although some comparisons use unaligned positions

78
New cards

stacked bar chart explanation and strength

Stacked bar chart: A chart placing segments end to end to show a total and the approximate contributions of its parts. Only the first segment shares the baseline

79
New cards

normalized stacked bar chart explanation and strength

Normalized stacked bar chart: A stacked bar chart in which all totals are scaled to 100%. It shows relative proportions but hides absolute totals.

80
New cards

internal vs floating segment

  • Internal segment: A segment above the first segment in a stacked bar. It lacks a common baseline and is therefore harder to compare accurately.

  • Floating segment: A stacked segment that begins where the preceding segment ends rather than at zero.


81
New cards

faceting

Faceting: Dividing a visualization into separate panels that show subsets of the data.

82
New cards

wrapped chart

A chart that repeats part of a cyclic sequence at the opposite end so values near the cycle boundary can be compared more easily

83
New cards

Inferred attribute

the data attribute that appears to be represented by a visual channel.

84
New cards

Fault and Cost to the Reader

  • Fault: The specific design or encoding problem identified in a visualization.

  • Cost to the reader: The comparison, interpretation, or judgment made more difficult by the fault.


85
New cards

design trade-off

Design trade-off: What a redesign improves and what it makes harder or gives up.

86
New cards

ink proportionality

he principle that the amount of visible area used to represent a value should be proportional to that value.

87
New cards

Area-radius distortion

In a circular mark, area increases with the square of the radius. If radius directly represents value, the visible area exaggerates differences

88
New cards

what are the 4 steps to critique each channel that carries data

  • Attribute and type: What is represented, and is it nominal, ordinal, quantitative, or temporal?

  • Discriminability: Can viewers distinguish the required number of values?

  • Expressiveness: Does the channel express all and only the structure in the attribute?

  • Effectiveness: Can viewers perceive the differences that matter for the task?


89
New cards

exploratory vs confirmatory analysis vs initial analysis

  • Exploratory data analysis: Analysis used to discover patterns, relationships, and possible explanations. The question can change as the analyst examines the data.

  • Confirmatory analysis: Analysis that evaluates a specific hypothesis or claim established before examining the data.

  • Initial data analysis: The process of describing a dataset's structure, quality, and distributions before answering a substantive question. It is also called data sniffing in the slides.


90
New cards

data sniffing

A preliminary inspection of a dataset to understand its structure, quality, and distributions. (diff from EDA)

91
New cards

data profile

A structured summary of each attribute's type, meaning, cardinality, range, and quality.

92
New cards

data structure vs data quality

structure: The dataset's rows, columns, and attribute types.

quality: Whether the data contains missing, duplicated, or impossible values


93
New cards

data distribution, centre, spread and shape meaning and difference

  • Distribution: How the values of an attribute are positioned, spread, and shaped.

  • Centre: A value describing where a distribution is located, such as the mean or median.

  • Spread: The amount of variability in a distribution, such as its range or standard deviation.

  • Shape: The overall form of a distribution, including skew, peaks, gaps, or unusual values.


94
New cards

mean, median and standard deviation meaning

  • Mean: The arithmetic average of a set of values.

  • Median: The middle value after values are ordered.

  • Standard deviation: A numerical summary of how far values typically vary from the mean.


95
New cards

quartile

A boundary dividing an ordered dataset into four parts.

96
New cards

skewness

A measure of asymmetry in a distribution.

97
New cards

univariate summary

A summary of one attribute at a time.

98
New cards

association

A relationship or pattern involving two or more attributes.

99
New cards

missingness and missing-data mechanism

  • Missingness: The pattern and mechanism behind missing values, not merely the percentage of values that are absent.

  • Missing-data mechanism: The process that determines why particular observations are missing.


100
New cards

list and explain the 3 missing-data mechanisms

  • MCAR, missing completely at random: Missingness does not depend on anything in the available data. The slides state that no test can confirm MCAR.

  • MAR, missing at random: Missingness depends on another recorded attribute. This relationship can be examined using available columns.

  • MNAR, missing not at random: Missingness depends on the missing value itself and therefore cannot be diagnosed using only the observed data.