Make a URL that records and plots data in the Wolfram Cloud.
Make a URL that clears the data:
This example was live-coded at the Wolfram Research booth at SXSW, March 12, 2014.
Store an empty list of data in the Wolfram Cloud:
In[1]:= | ![]() X |
Out[1]= | ![]() |
Deploy a URL that adds a value to the data list and plots the cumulative result. Each time you visit the URL with a value specified in the query string—for example, “?data=3”—the value is added to the data in the cloud and the result is plotted:
In[2]:= | ![]() X |
Out[2]= | ![]() |
These hyperlinks add various values to the data:
In[3]:= | ![]() X |
After clicking the 1, 3, 2, and 5 links, the output looks like this in the cloud:
Deploy a function to clear the accumulated data:
In[4]:= | ![]() X |
Out[4]= | ![]() |