First, it’s best to post each question separately.
To answer both questions: an easy way is to use the Google API. With the Google Gears Database API, you can “permanently save user application data” locally, and with the Google Chart tools you can create graphs by simply calling the URL with the correct parameters. Both should work from any browser, including mobile.
source
share