Skip to main content
100%

Flot - Downsampling Plugin

✓ Published0🌍 Public
ZZJONSSON
Last edited May 15, 2013
Created on May 15, 2013

This example demonstrates a Flot line chart with a downsampling plugin that simplifies dense data series using Visvalingam's algorithm. The chart displays one of three demo datasets selected from a dropdown, and a slider controls the simplification threshold, dynamically updating the number of points rendered in the 900x300 pixel plot area. The plugin caches the simplified results for performance, using a triangle-area-based approach to remove the least visually significant points while preserving the overall shape. A readout shows the current threshold and total point count. The gray-themed page includes a header, content box, and a threshold slider with a warning that it works best in full screen mode.

AI-generated description

Only works in full screen http://bl.ocks.org/ZJONSSON/raw/5581551/

Similar vizzes