d3.js - Reducing Large Datasets with MongoDB and D3 -


i'm working on d3 visualization , luckily have made progress. however, i've run issue... , honest, i'm not sure if mongodb issue, or d3 issue. see, i'm trying make series of graphs set of sensor points (my json object contains timestamps, light, temperature, humidity, , motion detection levels or each datapoint). however, sensors uploading data mongodb database every 8 seconds. so, if query mongodb database 1 days worth of data... 10,800 datapoints. worse, if ask 1 month of data, i'd swamped 324,000 datapoints. issue d3 visualization slows crawl when dealing more 1000 points (i'm visualizing data on 4 different graphs each use single brush select domain on graph. there way limit amount of data i'm trying visualize? better done using mongodb (so filter data i'm querying , getting every nth data point based on how big of time value i'm trying query). or there better way? should try filter data using d3 once i've retrieved entire dataset? best way go reducing amount of points need deal with? in advance.

mongodb great @ filtering. if need subset of data, specify in find query -- limit subset of time, or if you're clever data first minute of every hour or similar.

or can literally reduce amount of data coming out of mongodb using aggregation framework. used partial sums or averages or similar.


Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -