DS-GA 3001 - Fall 2026 - Perception and Color in Practice
NYU Center for Data Science
2026-09-15
Today’s Topics: - Intro to D3 - Hands-on exploration of perceptual principles - Creating effective color palettes - Using ColorBrewer and accessibility tools
Intro to D3 and SVG (20 min)
Working with color and accesssibility (20 min)
Hands-on Exercise (40 min)
Let’s complete this workbook to get a feel for D3
Let’s go over some basics about optimising color and clarity
Visit: colorbrewer2.org
Key Features: - Data classes: 3-12 levels - Nature of data: Sequential, Diverging, Qualitative - Colorblind safe options - Print friendly options - Photocopy safe options
** Recommended Practice 3:** 1. Create a 5-class sequential scheme for temperature data 2. Create a diverging scheme for election results 3. Create a categorical scheme for 7 different categories
Tools to test your visualizations: - Coblis - Color Blindness Simulator - Sim Daltonism (Mac app) - Chrome DevTools (Rendering tab → Emulate vision deficiencies)
WCAG Guidelines: - Normal text: 4.5:1 contrast ratio - Large text: 3:1 contrast ratio - Graphics: 3:1 contrast ratio
Best for ordered data from low to high
Best for data with meaningful midpoint
Best for nominal/categorical data
Fork and complete the notebook linked here
✅ Perception Principles: - Use position when accuracy matters most - Leverage pre-attentive features for important data - Apply Gestalt principles for grouping
✅ Color Best Practices: - Match color scale to data type - Always test for accessibility - Limit categorical colors to ~7
✅ Accessibility: - 8-10% of males have color vision deficiency - Always provide redundant encodings - Test contrast ratios
Perception: - Ware - Information Visualization: Perception for Design - Cleveland & McGill Paper
Color: - ColorBrewer - D3 Color Schemes - Datawrapper Color Palette Guide
Accessibility: - WCAG Guidelines - Inclusive Design Principles
Model Assessment and Performance Metrics (next week’s lecture) - Confusion matrices visualization - ROC curves - Performance dashboards
Preparation: - Review basic ML metrics - Install scikit-learn if not already installed
Instructor Office Hours: Fridays 1:30-2:30 PM, 370 Jay Street, Room 1153
TA Office Hours: TBD (will announce on Discord)
Contact: Parikshit Solunke - pss442@nyu.edu
Discord: Please post questions in #week3-lab channel