javascript - Which format to choose for storing and displaying data in D3.js dynamically? -


i working on project raspberry pi sensor continuously collects data. want store data in specific format (sql, csv, json or else) , visualize on simple page d3.js

i have thought of few ways, example using sqlite or mysql create db , store data, convert sql db json or csv file in order display it. far have not come proper solution on how store, convert (if needed) , display data dynamically without using many resourced or time.

can guide me in right direction?

considering don't need of features database offers, (you're writing single table single process), write out csv. that's going have smallest footprint. can process csv json when dump data off, if need.


Comments