How do you approach mobile responsiveness in interactive data visualizations?
Instruction: Detail your strategies and considerations for ensuring data visualizations are effective and accessible on mobile devices.
Updated
Official answer
Start with the decisions and information that must remain available at a narrow width. Reflow the layout and simplify the presentation without deleting essential labels, uncertainty or controls.
Adapt the chart itself: use fewer readable ticks, direct labels, small multiples or an alternative chart when appropriate. An SVG can scale while its text becomes unreadably small; scalability alone is not responsive design. Preserve comparable units and disclose any aggregation changes.
Design details and filters for touch and keyboard access, not hover alone. Use adequately sized and spaced targets, visible focus and an alternative to precise dragging or multi-finger gestures. Allow scrolling where the information genuinely requires it, with a clear indication and keyboard access.
Offer an accessible table or detailed view when a dense chart cannot fit. Keep loading/error and active-filter states visible, and bound data transfer and rendering on slower devices.
Test portrait and landscape layouts, zoom, long labels, empty and extreme data, touch, keyboard and assistive technologies. Check real devices when available and record the limits of emulation. Judge success by whether users can complete the same important tasks accurately, not by whether the chart merely fits the viewport.