[group work looks like this!]
Then, I did the rest of the work in Javscript. I created a Mapbox "map" element using the standard satellite basemap (although I did experiment with making my own map style first, using the style playground), and I set its central lat/long point relative to where my walks would be leaving from.
The rest of the interaction in the script is all triggered by the upload of a CSV. The script parses the CSV and extracts the lat/lon columns into the geometry element of a geojson, to which it adds all other fields as properties of each point.
There is some handling built in for the cases where some elements are available and some aren't and the resulting popups include all the data that is recorded in the CSV for a given element:
There are some limitations to the strategy that will be discussed in the next section, but the interaction is there!
For simplicity I am comparing my web interface to Saleem's WiFi web interface, based on the attributes he summarized:
| Ease of Implementation | straightforward HTTP server, Chart.js CDN integration requires minimal setup | lots of style options from mapbox, but custom JS requires some maneuvering if moving beyond tutorials |
|---|---|---|
| Remote Access | accessible from any device on WiFi network | requires full file system to be visualized locally |
| Visualization Capabilities | rich data visualization with real-time plotting, smooth animations, and interactive features | smooth and precise data visualization along GPS path, with map context visual |
| Real-Time Updates | efficient data transfer, 300ms refresh rate maintains responsive feel | no real-time updates due to local implementation |
| Limitations | requires WiFi network, limited to local network without additional configuration, power consumption higher than OLED alone | requires user to visualize data locally for image file access |
| Best Use Cases | remote monitoring, data logging visualization, multi-user access, professional dashboards | rapid prototyping feedback and personal project visualization |