You don't indicate precisely what your data is, so I'll offer a suggestion that may not be entirely suitable for your need.
I really like RRDTool, which is utility build around monitoring system metrics and graphing them. Your data looks like it's timestamp series, which might mean RRDtool is appropriate.
One of the major things RRDtool does is applying sampling and archiving. It'll 'roll up' data points to make a MIN/MAX/AVERAGE for a sampling interval, and allow you to scale your sampling intervals - so you might keep 5m resolution for a week, 1hr resolution for a month, and daily resolution for a couple of years.
The only reason I mention it is I notice your data includes timestamps, and one of the things that RRDtool does very nicely is sampled updates and near-ish realtime graph redrawing.
E.g.:
