summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/script.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/data/script.js b/data/script.js
index 0884ee6..5bf4480 100644
--- a/data/script.js
+++ b/data/script.js
@@ -98,5 +98,14 @@ $(document).ready (function () {
$('[data-toggle="popover"]').popover({template: '<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><textarea readonly rows="5" class="popover-body"></textarea></div>'});
$('select').selectize({create: true});
+
+ var plt = Bokeh.Plotting;
+
+ var p3 = Bokeh.Charts.bar (yearHistData, {
+ axis_number_format: "0.[00]a",
+ orientation: "vertical"
+ });
+
+ plt.show (p3, document.getElementById ('pubHistogram'));
});