Visualization of Healthcare Sensor Data via CSV File in HTML?

51 views
Skip to first unread message

Lee Deneault

unread,
Apr 17, 2016, 7:58:53 PM4/17/16
to Google Visualization API
Hi Group!

I would like to use Google Visualization / Developers Tools to draw a stack plot of a multi-parameter CSV File using HTML.
An example of the CSV File Format is attached to this Post.
As you will see, the rows are in 5 second increments...

Ideally, I would like like to be able to "draw" the newly "acquired" rows in real-time but, for right now, I would just like to see the data in a static fashion.
I used an on-line converter to create a JSON file of the above CSV File, if that is a better way to go and the result of this conversion is also attached to this Post.

Needless to say, any and all advise would be greatly appreciated!

Many thanks, in advance, for your time and consideration!

Best Regards,

LEE

PS - I have always been so very impressed with how easy Google Developer Tools were to use, up until now!
Successfully drawn Google Developer Charts are so "beautiful" and "stunning" that I truly hate to use anything else but, I am afraid that doing the above is either not as straight forward as I had hoped or I am just not "getting it" quite yet...! My money is on the latter...!     
  
Seriously, thanks again...!
SIMULATED Hemodynamic Data - 20140416.csv
SIMULATED Hemodynamic Data - 20140416.json

Daniel LaLiberte

unread,
Apr 18, 2016, 10:58:49 AM4/18/16
to Google Visualization API
Hi Lee,

Google Charts will work with JSON-like format if it is formatted as expected, as documented here:  https://developers.google.com/chart/interactive/docs/datatables_dataviews#javascriptliteral

If you can provide the data via a Google spreadsheet, the correct conversion is done for you. See  https://developers.google.com/chart/interactive/docs/spreadsheets

Realtime updating of the chart basically requires multiple draw() calls with the new data.  If you wrap your chart in a ChartWrapper, then you can use the setRefreshInterval() method to automatically get new data and draw it:  https://developers.google.com/chart/interactive/docs/reference#methods_4



--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/d06f8b7a-d0b6-48a8-bf0e-878789d04cd7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Lee Deneault

unread,
Apr 19, 2016, 6:12:43 AM4/19/16
to google-visua...@googlegroups.com
Thanks Much Daniel...!

I will give it a "whirl"...!

LEE



--
You received this message because you are subscribed to a topic in the Google Groups "Google Visualization API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-visualization-api/KL4yvRbY2CQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualizati...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
Reply all
Reply to author
Forward
0 new messages