SOCR HTML5 Charts
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.
- D3, and its prior incarnation * ProtoVis
- Animated BEsier curves
- Google API (http://code.google.com/webtoolkit/overview.html).
- JSXGraph HTML5/JS Mathematical Functions Charts and graphs
- JavaScript InfoVis Toolkit
- Hyperbolic (fish eye) table and Fish Eye Zoom (Grid/Cartesian/Graphs)
- RGraph HTML5 Charts and Graphs
- Rendera: Interactive HTML5/CSS3/JS web-page Editor
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
- See the Profiler Project, its documentation (PDF), demos and source code.
- An example demonstrating a pair of analogous Java-applet-based and HTML5/JavaScript-based web-apps for Normal Distribution Simulation
- SOCR JavaDoc
- Available_SOCR_Development_Projects
- SOCR_ProposalSubmissionGuidelines
Translate this page: