Difference between revisions of "SOCR HTML5 Charts"

From SOCR
Jump to: navigation, search
(Front-end)
Line 23: Line 23:
  
 
===Front-end===
 
===Front-end===
Use the [Tweeter Bootstrap] API and the [http://socr.ucla.edu/htmls/HTML5/HTML5_WebSite.zip SOCR HTML5 interface (ZIP)] to embed the new SOCR HTML5 Charts. Use the '''./html/SOCR_Webapp_Template.html''' as a template to embed the SOCR Charts Webapp. Select an appropriate mechanism for navigating between different types of charts where the data remains visible/sharable between all charts (so user enters data once and then selects the chart, maps the variables and the chart redraws in the canvas). See the SOCR HTML5 MotionChart as an example ([https://code.google.com/p/socr/source/browse/#svn%2Ftrunk%2FSOCR_3.0%2FSOCR_HTML5_MotionCharts%2FMotionChart-v3.85 source code] and [http://socr.ucla.edu/htmls/HTML5/MotionChart/ webapp]).  
+
Use the [http://twitter.github.com/bootstrap/ Tweeter Bootstrap] API and the [http://socr.ucla.edu/htmls/HTML5/HTML5_WebSite.zip SOCR HTML5 interface (ZIP)] to embed the new SOCR HTML5 Charts. Use the '''./html/SOCR_Webapp_Template.html''' as a template to embed the SOCR Charts Webapp. Select an appropriate mechanism for navigating between different types of charts where the data remains visible/sharable between all charts (so user enters data once and then selects the chart, maps the variables and the chart redraws in the canvas). See the SOCR HTML5 MotionChart as an example ([https://code.google.com/p/socr/source/browse/#svn%2Ftrunk%2FSOCR_3.0%2FSOCR_HTML5_MotionCharts%2FMotionChart-v3.85 source code] and [http://socr.ucla.edu/htmls/HTML5/MotionChart/ webapp]).
  
 
===See also ===
 
===See also ===

Revision as of 11:49, 28 September 2012

SOCR Project - HTML5 Version of SOCR Charts Project

Project goals

The goal of this project is to redesign, transform and upgrade the SOCR Charts Applets from Java to a modern platform- and browser-independent HTML5/JavaScript framework.

Project Description

  • Review and play with the current SOCR Charts Java applets. Note that these provide default datasets, as well as allow the user to copy-paste data from any table into the data tab, map the variables (operation specific for each kind of chart that indicates which columns contain specific data that needs to be used in the plot/graph).
  • Look at the SOCR Charts Activities, Help and About pages.
  • Explore these two recent SOCR HTML5 webapps: MotionCharts and Randomization, Resampling and Simulation.
  • Add the SOCR Violin Plot and extend it to allow plotting multiple columns (several violin plots on the same chart).

Approach

Consider using some of the following open-source HTML5/JQuery/JavaScript graphing libraries. These provide all the necessary charts, variable-mappings, animations, transitions, etc. You just need to figure out the Data I/O. Perhaps allow the user to drag-and-drop a URL containing tabular data (e.g., see SOCR_Data for examples). All code must be HTML5 compliant and only include lightweight open-source libraries.

Front-end

Use the Tweeter Bootstrap API and the SOCR HTML5 interface (ZIP) to embed the new SOCR HTML5 Charts. Use the ./html/SOCR_Webapp_Template.html as a template to embed the SOCR Charts Webapp. Select an appropriate mechanism for navigating between different types of charts where the data remains visible/sharable between all charts (so user enters data once and then selects the chart, maps the variables and the chart redraws in the canvas). See the SOCR HTML5 MotionChart as an example (source code and webapp).

See also




Translate this page:

(default)
Uk flag.gif

Deutsch
De flag.gif

Español
Es flag.gif

Français
Fr flag.gif

Italiano
It flag.gif

Português
Pt flag.gif

日本語
Jp flag.gif

България
Bg flag.gif

الامارات العربية المتحدة
Ae flag.gif

Suomi
Fi flag.gif

इस भाषा में
In flag.gif

Norge
No flag.png

한국어
Kr flag.gif

中文
Cn flag.gif

繁体中文
Cn flag.gif

Русский
Ru flag.gif

Nederlands
Nl flag.gif

Ελληνικά
Gr flag.gif

Hrvatska
Hr flag.gif

Česká republika
Cz flag.gif

Danmark
Dk flag.gif

Polska
Pl flag.png

România
Ro flag.png

Sverige
Se flag.gif