SOCR HTML5 Charts

From Socr

(Difference between revisions)
Jump to: navigation, search
(Project Description)
(See also)
Line 27: Line 27:
===See also ===
===See also ===
 +
* See the [http://vis.stanford.edu/papers/profiler Profiler Project], [http://vis.stanford.edu/files/2012-Profiler-AVI.pdf its documentation (PDF)], [http://vis.stanford.edu/projects/datavore/ demos] and [https://github.com/StanfordHCI/datavore source code].
* An example demonstrating a pair of analogous [http://socr.ucla.edu/htmls/exp/Sample_Mean_Experiment.html Java-applet-based] and [http://socr.ucla.edu/test/HTML5/NormalSimulation.html HTML5/JavaScript-based] web-apps for [[SOCR_EduMaterials_Activities_SampleMeanExperiment |Normal Distribution Simulation]]
* An example demonstrating a pair of analogous [http://socr.ucla.edu/htmls/exp/Sample_Mean_Experiment.html Java-applet-based] and [http://socr.ucla.edu/test/HTML5/NormalSimulation.html HTML5/JavaScript-based] web-apps for [[SOCR_EduMaterials_Activities_SampleMeanExperiment |Normal Distribution Simulation]]
*[http://socr.stat.ucla.edu/docs/ SOCR JavaDoc]
*[http://socr.stat.ucla.edu/docs/ SOCR JavaDoc]

Revision as of 02:09, 1 November 2012

Contents

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.
  • Redesign the SOCR (prototype) Violin Plot and extend it to allow plotting multiple columns (several violin plots on the same chart) utilizing D3.
  • Consider adding a smooth animation between different types of SOCR HTML5 charts (using the same data). See this chart-animation example.

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)

Deutsch

Español

Français

Italiano

Português

日本語

България

الامارات العربية المتحدة

Suomi

इस भाषा में

Norge

한국어

中文

繁体中文

Русский

Nederlands

Ελληνικά

Hrvatska

Česká republika

Danmark

Polska

România

Sverige

Personal tools