N328 Visualizing Information
Khairi Reda | redak@iu.edu School of Informa5cs & Compu5ng, IUPUI
N328 Visualizing Information Week 5: Color Perception Khairi Reda | - - PowerPoint PPT Presentation
N328 Visualizing Information Week 5: Color Perception Khairi Reda | redak@iu.edu School of Informa5cs & Compu5ng, IUPUI Last week Marks & Channels The visualization alphabet magnitude channels iden+ty channels good for ordered
Khairi Reda | redak@iu.edu School of Informa5cs & Compu5ng, IUPUI
iden+ty channels magnitude channels
Tamara Munzner
good for ordered attributes good for categorical attributes
Tamara Munzner
The Huffington Post
the property possessed by an object of producing different sensa5ons on the eye as a result of the way the
Electromagne5c radia5on within a certain range [400nm
more energy
Mariah Meyer
Normal human color vision is 3 dimensional Derived from three cone types (short, medium, and long wave-length sensi5vity) Each type of cone contains a specific photosensi5ve pigment that reacts to a certain wavelength of light
Based on a slide by Mariah Meyer
+
luminance
+
yellow-blue
The luminance channel has greater ability to resolve smaller detail
Some5mes caused by faculty cones, some5mes by faulty pathways red-green weakness is the most common type 8% of (North American) males, 0.5% of female
Based on a slide by Miriah Meyer
normal re5na Protanopic
Via Miriah Meyer
lacking green cones lacking red cones lacking blue cones
difficult to dis5nguish for people with Deuteranopia
Representing color with numbers
yellow
0.17 0.17
Each point within the cube is defined by a 3D vector (r, g,b) and represents a unique color The r, g, b coordinates of the vector reflect a combina5on of red, green, and blue primaries needed to reproduce the color
1.0 1.0 1.0
Each point within the cube is defined by a 3D vector (r, g,b) and represents a unique color The r, g, b coordinates of the vector reflect a combina5on of red, green, and blue primaries needed to reproduce the color G B R
1.0 1.0 1.0
yellow (1.0, 1.0, 0.0)
Each point within the cube is defined by a 3D vector (r, g,b) and represents a unique color The r, g, b coordinates of the vector reflect a combina5on of red, green, and blue primaries needed to reproduce the color
1.0 1.0 1.0
Each point within the cube is defined by a 3D vector (r, g,b) and represents a unique color The r, g, b coordinates of the vector reflect a combina5on of red, green, and blue primaries needed to reproduce the color
(1.0, 0.6, 0.4)
1.0 1.0 1.0
white (1.0, 1.0, 1.0)
1.0 1.0 1.0
Each point within the cube is defined by a 3D vector (r, g,b) and represents a unique color The r, g, b coordinates of the vector reflect a combina5on of red, green, and blue primaries needed to reproduce the color
1.0 1.0 1.0
black (0.0, 0.0, 0.0)
1.0 1.0 1.0
Each point within the cube is defined by a 3D vector (r, g,b) and represents a unique color The r, g, b coordinates of the vector reflect a combina5on of red, green, and blue primaries needed to reproduce the color
Miriah Meyer
Wikipedia
Color picture CMY composite
Wikipedia
CMYK composite
color
the color
mixed in
[0, 8]
Miriah Meyer
Miriah Meyer
Miriah Meyer
Colin Ware
temperature
http://colororacle.org colorbrewer2.org/
X Y (200,100)
https://tinyurl.com/y9k9hc44
1) Download extension from: 2) Create folder (e.g., on Desktop) 3) Choose folder from extension 4) Open URL
Use the following SVG elements:
<rect x=“” y=“” width=“” height=“”/> <line x1=“” x2=“” y1=“” y2=“” /> <text x=“” y=“”>Label here</text>
cats 45 dogs 21 iguanas 102
Pets animals from a neighborhood survey:
Repeat the previous exercise. Instead of “hardcoding” the anributes of SVG elements, adjust them programma5cally using JavaScript
For loop to iterate through dataset Pets dataset as an array Adjust “height” attribute Get a reference to a “rect” element
selection and data binding selection and data binding
http://vis.ninja/teaching/2020/N328/d3-excercises