Speeding Up Plots in R/Shiny
summary
Slow plot rendering traces to three concrete causes and fixes: expensive data prep, naive plotting of millions of points, and library-level inefficiencies. Move aggregation into the database and compute five summary stats in DB for boxplots instead of fetching all rows. Replace dense scatter clouds with summaries or interactive controls to reduce rendered marks. Enable browser GPU rendering like WebGL/boost mode and prefer faster serializers such as switch to RJSON (25x reported) to cut client-side latency.
AI-written summary · about
chapters (5)
related talks
27mReal Time Shiny Applications
30mSeeing the needle AND the haystack: single-datapoint selection for billion-poin...
19mThe future's Shiny: Pioneering genomic medicine in R
47mReact, Rendering, Performance
49mRendering without lumpy bits
47mUsing Julia & D3 to analyse web performance data
45mOptimizing Data Visualization Performance in Web Maps
37mVisualizing Large Datasets with JavaScript Using deck.gl
