diff --git a/demo/index.html b/demo/index.html
index b385ba4b..48a0d5e0 100644
--- a/demo/index.html
+++ b/demo/index.html
@@ -28,6 +28,10 @@
+
+
+
+
diff --git a/src/view-data-explorer.js b/src/view-data-explorer.js
new file mode 100644
index 00000000..7e3c2258
--- /dev/null
+++ b/src/view-data-explorer.js
@@ -0,0 +1,171 @@
+this.recline = this.recline || {};
+this.recline.View = this.recline.View || {};
+
+// Views module following classic module pattern
+(function($, my) {
+
+// The primary view for the entire application.
+//
+// It should be initialized with a recline.Model.Dataset object and an existing
+// dom element to attach to (the existing DOM element is important for
+// rendering of FlotGraph subview).
+//
+// To pass in configuration options use the config key in initialization hash
+// e.g.
+//
+// var explorer = new DataExplorer({
+// config: {...}
+// })
+//
+// Config options:
+//
+// * displayCount: how many documents to display initially (default: 10)
+// * readOnly: true/false (default: false) value indicating whether to
+// operate in read-only mode (hiding all editing options).
+//
+// All other views as contained in this one.
+my.DataExplorer = Backbone.View.extend({
+ template: ' \
+ \
+
\
+
Traverse and transform objects by visiting every node on a recursive walk using js-traverse.
\
+
\
+ \
+ \
+ \
+ \
+ \
+ \
+ \
+ | \
+ Expression \
+ | \
+ \
+ \
+ | \
+ \
+ \
+ \
+ | \
+ \
+ No syntax error. \
+ | \
+ \
+ \
+ | \
+ \
+ | \
+ \
+ \
+ \
+ \
+ | \
+
\
+ \
+
\
+
\
+
\
+ \
+ ',
+
+ initialize: function() {
+ this.el = $(this.el);
+ },
+
+ render: function() {
+ this.el.html(this.template);
+ }
+});
+
+
+// View (Dialog) for doing data transformations (on columns of data).
+my.ColumnTransform = Backbone.View.extend({
+ className: 'transform-column-view',
+ template: ' \
+ \
+ \
-
\
-
Traverse and transform objects by visiting every node on a recursive walk using js-traverse.
\
-
\
- \
- \
- \
- \
- \
- \
- \
- | \
- Expression \
- | \
- \
- \
- | \
- \
- \
- \
- | \
- \
- No syntax error. \
- | \
- \
- \
- | \
- \
- | \
- \
- \
- \
- \
- | \
-
\
- \
-
\
-
\
-
\
- \
- ',
-
- initialize: function() {
- this.el = $(this.el);
- },
-
- render: function() {
- this.el.html(this.template);
- }
-});
-
-
-// Graph view for a Dataset using Flot graphing library.
-//
-// Initialization arguments:
-//
-// * model: recline.Model.Dataset
-// * config: (optional) graph configuration hash of form:
-//
-// {
-// group: {column name for x-axis},
-// series: [{column name for series A}, {column name series B}, ... ],
-// graphType: 'line'
-// }
-//
-// NB: should *not* provide an el argument to the view but must let the view
-// generate the element itself (you can then append view.el to the DOM.
-my.FlotGraph = Backbone.View.extend({
-
- tagName: "div",
- className: "data-graph-container",
-
- template: ' \
-