1. Analyze the Request:
* Topic: Data Visualization Specification Checklist.
* Core Pillars:
1. Accessibility (A11y).
2. Narrative Integrity (Truthfulness/Clarity).
3. Interaction Affordances (Usability/UX).
* Goal: "Engineer" a spec (meaning it needs to be structured, actionable, and technical/comprehensive enough for a professional context).
-
Deconstruct the Pillars:
-
Accessibility (A11y): How do people with disabilities consume data?
- Visual: Color blindness, low vision, contrast.
- Motor: Keyboard navigation, click targets.
- Cognitive: Simple language, avoiding clutter.
- Assistive Tech: Screen readers (ARIA, alt text, data tables).
-
Narrative Integrity: How do we ensure the data tells the truth and is understandable?
- Context: Titles, sources, dates.
- Scaling: 0-baselines, log vs. linear (and labeling them).
- Visual Encoding: Are pie charts actually bad here? Is the area proportional?
- Bias reduction: Avoiding misleading truncations or 3D distortion.
-
Interaction Affordances: How does the user use it?
- Pre-attentive: What hints that it's interactive? (Cursors, hover states).
- Feedback: Tooltips, highlighting, transitions.
- Complexity Management: Filtering, zooming, tooltips.
- State: Error states, loading states, empty states.
-
Structure the Checklist:
- A flat list is boring. A hierarchical structure (Categories -> Criteria -> Specific Checks) is better.
- I should add a "Meta" section for General/Technical specs to make it a true "Spec."
- I need to ensure the language is imperative (e.g., "Ensure," "Verify," "Implement").
-
Drafting the Content (Iterative Refinement):
-
Section 1: Accessibility (The "Who")
- Color: Not the only encoding. Contrast ratios (WCAG).
- Text: Scalable (SVG/HTML vs Canvas issues). Readable fonts.
- Structure: Sonification? Data tables (the "accessible view").
- ARIA: Roles, labels. Focus rings.
-
Section 2: Narrative Integrity (The "What")
- The "Lie Factor": Check axes.
- Annotation: Callouts for outliers.
- Sourcing: Citation.
- Audience: Is the jargon right?
-
Section 3: Interaction Affordances (The "How")
- Cursors: Pointer vs Crosshair.
- Tooltips: Don't hide critical data only in tooltips.
- Touch: Fat finger rule (mobile).
- Motion: Reduce motion preferences.
-
Refining and Polishing (The "Engineering" aspect):
- Make it look like a spec document. Use formatting like bolding, lists, and code-like syntax where appropriate.
- Add a scoring mechanism or priority level? Maybe just stick to clear categorization.
- Self-Correction during drafting: I initially thought about specific libraries (D3 vs Tableau), but the prompt asks for a spec, so it should be tool-agnostic.
- Crucial addition: "Reduced Motion." This sits at the intersection of Accessibility and Interaction.
-
Final Review against User Prompt:
- Accessibility? Yes (Visual, Assistive, Cognitive).
- Narrative Integrity? Yes (Context, Sourcing, Scaling).
- Interaction Affordances? Yes (Tooltips, States, Hints).
-
Final Output Generation: (This matches the structure of the provided good response, organized logically with actionable bullet points). See final output for the result.
- Drafting the intro: Set the stage.
- Drafting Section 1 (A11y): Focus on WCAG compliance, color theory, and screen readers.
- Drafting Section 2 (Narrative): Focus on the "Lie Factor," context, and labeling.
- Drafting Section 3 (Interaction): Focus on UI patterns, feedback loops, and responsiveness.
- Drafting Section 4 (Technical/Edge Cases): Empty states, error handling.
-
Formatting: Use clear headings and distinct check-box items. Add a "Why" column or note to explain the rationale (makes it more educational). Decided to keep it concise: Requirement -> Checklist -> Rationale.
-
Final Polish: Ensure tone is professional and authoritative. (Proceed to generate output).
This specification checklist is designed for engineers, data scientists, and UI/UX designers to audit data visualizations before deployment. It is broken down into three critical layers: Accessibility (Can everyone access it?), Narrative Integrity (Is it accurate and honest?), and Interaction Affordances (Is it usable?).
Phase 1: Accessibility (A11y)
Goal: Ensure the visualization is consumable by users with visual, motor, or cognitive impairments.
1.1 Visual & Perceptual
1.2 Assistive Technology & Structure
1.3 Cognitive Load
Phase 2: Narrative Integrity
Goal: Ensure the visualization presents the truth without distortion and provides necessary context.
2.1 Context & Sourcing
2.2 Axis & Scale Integrity
2.3 Clarity & Honesty
Phase 3: Interaction Affordances
Goal: Ensure the user understands what is interactive and receives feedback on their actions.
3.1 Pre-Attentive (The "Hint")
3.2 Feedback Loops (The "Response")
3.3 Exploratory Control
The "Golden Thread" Test
Final sanity check before sign-off.
- The Screen Reader Test: Turn off your monitor. Can you navigate the chart using a screen reader and understand the trend?
- The Squint Test: Squint your eyes until the text is blurry. Can you still distinguish the different data series?
- The Mobile Thumb Test: Can you interact with all filters and tooltips using one hand while holding the device?