-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathgrid.html
More file actions
85 lines (51 loc) · 36 KB
/
grid.html
File metadata and controls
85 lines (51 loc) · 36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bokeh Plot</title>
<script type="text/javascript" src="https://cdn.pydata.org/bokeh/release/bokeh-1.4.0.min.js"></script>
<script type="text/javascript">
Bokeh.set_log_level("info");
</script>
</head>
<body>
<div class="bk-root" id="c5f7cf23-0d02-4f93-8876-8bc8306c7a50" data-root-id="112599"></div>
<script type="application/json" id="115996">
{"8278075c-31d7-4390-be0c-c8a2157d72ce":{"roots":{"references":[{"attributes":{"children":[{"id":"112598","type":"ToolbarBox"},{"id":"112596","type":"GridBox"}]},"id":"112599","type":"Column"},{"attributes":{"line_alpha":0.1,"line_color":"#1f77b4","x":{"field":"date"},"y":{"field":"h"}},"id":"110251","type":"Line"},{"attributes":{"days":[1,8,15,22]},"id":"107557","type":"DaysTicker"},{"attributes":{"dimension":1,"grid_line_alpha":0.3,"ticker":{"id":"110230","type":"BasicTicker"}},"id":"110233","type":"Grid"},{"attributes":{"bottom_units":"screen","fill_alpha":{"value":0.5},"fill_color":{"value":"lightgrey"},"left_units":"screen","level":"overlay","line_alpha":{"value":1.0},"line_color":{"value":"black"},"line_dash":[4,4],"line_width":{"value":2},"render_mode":"css","right_units":"screen","top_units":"screen"},"id":"105358","type":"BoxAnnotation"},{"attributes":{"months":[0,1,2,3,4,5,6,7,8,9,10,11]},"id":"110267","type":"MonthsTicker"},{"attributes":{"data_source":{"id":"103590","type":"ColumnDataSource"},"glyph":{"id":"103624","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"103625","type":"Line"},"selection_glyph":null,"view":{"id":"103627","type":"CDSView"}},"id":"103626","type":"GlyphRenderer"},{"attributes":{"months":[0,1,2,3,4,5,6,7,8,9,10,11]},"id":"107559","type":"MonthsTicker"},{"attributes":{"below":[{"id":"103600","type":"DatetimeAxis"}],"center":[{"id":"103604","type":"Grid"},{"id":"103609","type":"Grid"}],"left":[{"id":"103605","type":"LinearAxis"}],"plot_height":500,"plot_width":400,"renderers":[{"id":"103626","type":"GlyphRenderer"},{"id":"103631","type":"GlyphRenderer"}],"title":{"id":"105353","type":"Title"},"toolbar":{"id":"103616","type":"Toolbar"},"toolbar_location":null,"x_range":{"id":"103592","type":"DataRange1d"},"x_scale":{"id":"103596","type":"LinearScale"},"y_range":{"id":"103594","type":"DataRange1d"},"y_scale":{"id":"103598","type":"LinearScale"}},"id":"103591","subtype":"Figure","type":"Plot"},{"attributes":{"months":[0,6]},"id":"107562","type":"MonthsTicker"},{"attributes":{"base":24,"mantissas":[1,2,4,6,8,12],"max_interval":43200000.0,"min_interval":3600000.0,"num_minor_ticks":0},"id":"110262","type":"AdaptiveTicker"},{"attributes":{},"id":"103598","type":"LinearScale"},{"attributes":{},"id":"107993","type":"LinearScale"},{"attributes":{"fill_color":{"value":"yellow"},"line_color":{"value":"#1f77b4"},"size":{"units":"screen","value":10},"x":{"field":"date"},"y":{"field":"daily_score"}},"id":"103629","type":"Circle"},{"attributes":{},"id":"110230","type":"BasicTicker"},{"attributes":{"dimension":1,"ticker":{"id":"103606","type":"BasicTicker"}},"id":"103609","type":"Grid"},{"attributes":{"label":{"value":"Opening Price"},"renderers":[{"id":"110303","type":"GlyphRenderer"}]},"id":"110325","type":"LegendItem"},{"attributes":{"mantissas":[1,2,5],"max_interval":500.0,"num_minor_ticks":0},"id":"105359","type":"AdaptiveTicker"},{"attributes":{"days":[1,15]},"id":"107558","type":"DaysTicker"},{"attributes":{"axis_label":"Price","formatter":{"id":"110258","type":"BasicTickFormatter"},"ticker":{"id":"110230","type":"BasicTicker"}},"id":"110229","type":"LinearAxis"},{"attributes":{"fill_color":{"value":"red"},"line_color":{"value":"red"},"line_width":{"value":3},"x":{"field":"time_period"},"y":{"field":"count"}},"id":"105799","type":"Circle"},{"attributes":{"source":{"id":"110212","type":"ColumnDataSource"}},"id":"110253","type":"CDSView"},{"attributes":{"months":[0,4,8]},"id":"105368","type":"MonthsTicker"},{"attributes":{"mantissas":[1,2,5],"max_interval":500.0,"num_minor_ticks":0},"id":"109798","type":"AdaptiveTicker"},{"attributes":{"callback":null,"tooltips":[["date","@date"],["high price","$@h"],["low price","$@l"],["opening price","$@o"]]},"id":"110240","type":"HoverTool"},{"attributes":{"months":[0,2,4,6,8,10]},"id":"105367","type":"MonthsTicker"},{"attributes":{"days":[1,8,15,22]},"id":"110265","type":"DaysTicker"},{"attributes":{},"id":"107991","type":"LinearScale"},{"attributes":{"data_source":{"id":"110212","type":"ColumnDataSource"},"glyph":{"id":"110250","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"110251","type":"Line"},"selection_glyph":null,"view":{"id":"110253","type":"CDSView"}},"id":"110252","type":"GlyphRenderer"},{"attributes":{},"id":"110234","type":"PanTool"},{"attributes":{"text":"Tesla Stock Prices"},"id":"110214","type":"Title"},{"attributes":{"ticker":{"id":"103601","type":"DatetimeTicker"}},"id":"103604","type":"Grid"},{"attributes":{"axis_label":"Date","formatter":{"id":"109794","type":"DatetimeTickFormatter"},"ticker":{"id":"107996","type":"DatetimeTicker"}},"id":"107995","type":"DatetimeAxis"},{"attributes":{"line_color":"#A6CEE3","x":{"field":"date"},"y":{"field":"l"}},"id":"110275","type":"Line"},{"attributes":{},"id":"110235","type":"WheelZoomTool"},{"attributes":{"axis_label":"date","formatter":{"id":"105355","type":"DatetimeTickFormatter"},"ticker":{"id":"103601","type":"DatetimeTicker"}},"id":"103600","type":"DatetimeAxis"},{"attributes":{"dimension":1,"ticker":{"id":"108001","type":"BasicTicker"}},"id":"108004","type":"Grid"},{"attributes":{},"id":"103606","type":"BasicTicker"},{"attributes":{"num_minor_ticks":5,"tickers":[{"id":"109798","type":"AdaptiveTicker"},{"id":"109799","type":"AdaptiveTicker"},{"id":"109800","type":"AdaptiveTicker"},{"id":"109801","type":"DaysTicker"},{"id":"109802","type":"DaysTicker"},{"id":"109803","type":"DaysTicker"},{"id":"109804","type":"DaysTicker"},{"id":"109805","type":"MonthsTicker"},{"id":"109806","type":"MonthsTicker"},{"id":"109807","type":"MonthsTicker"},{"id":"109808","type":"MonthsTicker"},{"id":"109809","type":"YearsTicker"}]},"id":"107996","type":"DatetimeTicker"},{"attributes":{"months":[0,4,8]},"id":"107561","type":"MonthsTicker"},{"attributes":{"children":[[{"id":"103591","subtype":"Figure","type":"Plot"},0,0],[{"id":"105774","subtype":"Figure","type":"Plot"},0,1],[{"id":"107986","subtype":"Figure","type":"Plot"},1,0],[{"id":"110213","subtype":"Figure","type":"Plot"},1,1]]},"id":"112596","type":"GridBox"},{"attributes":{"overlay":{"id":"110259","type":"BoxAnnotation"}},"id":"110236","type":"BoxZoomTool"},{"attributes":{"line_alpha":0.1,"line_color":"#1f77b4","x":{"field":"Date"},"y":{"field":"Dollar_Change"}},"id":"108022","type":"Line"},{"attributes":{"ticker":{"id":"107996","type":"DatetimeTicker"}},"id":"107999","type":"Grid"},{"attributes":{},"id":"105355","type":"DatetimeTickFormatter"},{"attributes":{},"id":"110237","type":"SaveTool"},{"attributes":{},"id":"108001","type":"BasicTicker"},{"attributes":{},"id":"110238","type":"ResetTool"},{"attributes":{"axis_label":"$ amount change","formatter":{"id":"109796","type":"BasicTickFormatter"},"ticker":{"id":"108001","type":"BasicTicker"}},"id":"108000","type":"LinearAxis"},{"attributes":{"num_minor_ticks":5,"tickers":[{"id":"110260","type":"AdaptiveTicker"},{"id":"110261","type":"AdaptiveTicker"},{"id":"110262","type":"AdaptiveTicker"},{"id":"110263","type":"DaysTicker"},{"id":"110264","type":"DaysTicker"},{"id":"110265","type":"DaysTicker"},{"id":"110266","type":"DaysTicker"},{"id":"110267","type":"MonthsTicker"},{"id":"110268","type":"MonthsTicker"},{"id":"110269","type":"MonthsTicker"},{"id":"110270","type":"MonthsTicker"},{"id":"110271","type":"YearsTicker"}]},"id":"110225","type":"DatetimeTicker"},{"attributes":{},"id":"110239","type":"HelpTool"},{"attributes":{"grid_line_alpha":0.3,"ticker":{"id":"110225","type":"DatetimeTicker"}},"id":"110228","type":"Grid"},{"attributes":{"num_minor_ticks":5,"tickers":[{"id":"105359","type":"AdaptiveTicker"},{"id":"105360","type":"AdaptiveTicker"},{"id":"105361","type":"AdaptiveTicker"},{"id":"105362","type":"DaysTicker"},{"id":"105363","type":"DaysTicker"},{"id":"105364","type":"DaysTicker"},{"id":"105365","type":"DaysTicker"},{"id":"105366","type":"MonthsTicker"},{"id":"105367","type":"MonthsTicker"},{"id":"105368","type":"MonthsTicker"},{"id":"105369","type":"MonthsTicker"},{"id":"105370","type":"YearsTicker"}]},"id":"103601","type":"DatetimeTicker"},{"attributes":{},"id":"110271","type":"YearsTicker"},{"attributes":{},"id":"109810","type":"Selection"},{"attributes":{"source":{"id":"107985","type":"ColumnDataSource"}},"id":"108024","type":"CDSView"},{"attributes":{"months":[0,6]},"id":"110270","type":"MonthsTicker"},{"attributes":{"callback":null,"tooltips":[["Date","@Date"],["Price Change","@Dollar_Change"]]},"id":"108011","type":"HoverTool"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_multi":null,"active_scroll":"auto","active_tap":"auto","tools":[{"id":"110234","type":"PanTool"},{"id":"110235","type":"WheelZoomTool"},{"id":"110236","type":"BoxZoomTool"},{"id":"110237","type":"SaveTool"},{"id":"110238","type":"ResetTool"},{"id":"110239","type":"HelpTool"},{"id":"110240","type":"HoverTool"}]},"id":"110241","type":"Toolbar"},{"attributes":{"days":[1,4,7,10,13,16,19,22,25,28]},"id":"110264","type":"DaysTicker"},{"attributes":{"days":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]},"id":"109801","type":"DaysTicker"},{"attributes":{"axis_label":"sentiment score","formatter":{"id":"105357","type":"BasicTickFormatter"},"ticker":{"id":"103606","type":"BasicTicker"}},"id":"103605","type":"LinearAxis"},{"attributes":{"data_source":{"id":"107985","type":"ColumnDataSource"},"glyph":{"id":"108021","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"108022","type":"Line"},"selection_glyph":null,"view":{"id":"108024","type":"CDSView"}},"id":"108023","type":"GlyphRenderer"},{"attributes":{},"id":"108005","type":"PanTool"},{"attributes":{"background":"blue","below":[{"id":"110224","type":"DatetimeAxis"}],"center":[{"id":"110228","type":"Grid"},{"id":"110233","type":"Grid"},{"id":"110272","type":"Legend"}],"left":[{"id":"110229","type":"LinearAxis"}],"plot_height":400,"plot_width":500,"renderers":[{"id":"110252","type":"GlyphRenderer"},{"id":"110277","type":"GlyphRenderer"},{"id":"110303","type":"GlyphRenderer"}],"title":{"id":"110214","type":"Title"},"toolbar":{"id":"110241","type":"Toolbar"},"toolbar_location":null,"x_range":{"id":"110216","type":"DataRange1d"},"x_scale":{"id":"110220","type":"LinearScale"},"y_range":{"id":"110218","type":"DataRange1d"},"y_scale":{"id":"110222","type":"LinearScale"}},"id":"110213","subtype":"Figure","type":"Plot"},{"attributes":{"callback":null,"data":{"daily_score":{"__ndarray__":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAuZfMppA52/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/Knx0k1iUL8pVz7sAcqNvylcj8L1KIy/AAAAAAAAAAAAAAAAAAAAAEcforqBTps/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC4HoXrUbievylcj8L1KHw/AAAAAAAAAAAJ/Q9aVjRSPwAAAAAAAAAA","dtype":"float64","shape":[27]},"date":{"__ndarray__":"AACAxF8Xd0IAAEAqshd3QgAAAJAEGHdCAADA9VYYd0IAAMCMoBl3QgAAgPLyGXdCAABAWEUad0IAAAC+lxp3QgAAwCPqGndCAACAiTwbd0IAAEDvjht3QgAAAFXhG3dCAADAujMcd0IAAIAghhx3QgAAQIbYHHdCAAAA7Codd0IAAIC3zx13QgAAQB0iHndCAAAAg3Qed0IAAMDoxh53QgAAgE4ZH3dCAABAtGsfd0IAAAAavh93QgAAwH8QIHdCAACA5WIgd0IAAEBLtSB3QgAAALEHIXdC","dtype":"float64","shape":[27]},"index":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"selected":{"id":"105371","type":"Selection"},"selection_policy":{"id":"105372","type":"UnionRenderers"}},"id":"103590","type":"ColumnDataSource"},{"attributes":{"line_alpha":0.1,"line_color":"#1f77b4","line_width":3,"x":{"field":"date"},"y":{"field":"daily_score"}},"id":"103625","type":"Line"},{"attributes":{"ticker":{"id":"105784","type":"DatetimeTicker"}},"id":"105787","type":"Grid"},{"attributes":{},"id":"108006","type":"WheelZoomTool"},{"attributes":{"line_color":"#1f77b4","line_width":3,"x":{"field":"date"},"y":{"field":"daily_score"}},"id":"103624","type":"Line"},{"attributes":{},"id":"110256","type":"DatetimeTickFormatter"},{"attributes":{"days":[1,4,7,10,13,16,19,22,25,28]},"id":"105363","type":"DaysTicker"},{"attributes":{"days":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]},"id":"110263","type":"DaysTicker"},{"attributes":{"overlay":{"id":"109797","type":"BoxAnnotation"}},"id":"108007","type":"BoxZoomTool"},{"attributes":{"items":[{"id":"110273","type":"LegendItem"},{"id":"110299","type":"LegendItem"},{"id":"110325","type":"LegendItem"}]},"id":"110272","type":"Legend"},{"attributes":{"toolbar":{"id":"112597","type":"ProxyToolbar"},"toolbar_location":"above"},"id":"112598","type":"ToolbarBox"},{"attributes":{},"id":"108008","type":"SaveTool"},{"attributes":{},"id":"110258","type":"BasicTickFormatter"},{"attributes":{"base":60,"mantissas":[1,2,5,10,15,20,30],"max_interval":1800000.0,"min_interval":1000.0,"num_minor_ticks":0},"id":"110261","type":"AdaptiveTicker"},{"attributes":{"months":[0,2,4,6,8,10]},"id":"110268","type":"MonthsTicker"},{"attributes":{},"id":"108009","type":"ResetTool"},{"attributes":{"label":{"value":"High Price"},"renderers":[{"id":"110252","type":"GlyphRenderer"}]},"id":"110273","type":"LegendItem"},{"attributes":{},"id":"108010","type":"HelpTool"},{"attributes":{"days":[1,15]},"id":"105365","type":"DaysTicker"},{"attributes":{"base":60,"mantissas":[1,2,5,10,15,20,30],"max_interval":1800000.0,"min_interval":1000.0,"num_minor_ticks":0},"id":"109799","type":"AdaptiveTicker"},{"attributes":{},"id":"109811","type":"UnionRenderers"},{"attributes":{"tools":[{"id":"103610","type":"PanTool"},{"id":"103611","type":"WheelZoomTool"},{"id":"103612","type":"BoxZoomTool"},{"id":"103613","type":"SaveTool"},{"id":"103614","type":"ResetTool"},{"id":"103615","type":"HelpTool"},{"id":"103633","type":"HoverTool"},{"id":"105793","type":"BoxSelectTool"},{"id":"105794","type":"LassoSelectTool"},{"id":"105804","type":"HoverTool"},{"id":"108005","type":"PanTool"},{"id":"108006","type":"WheelZoomTool"},{"id":"108007","type":"BoxZoomTool"},{"id":"108008","type":"SaveTool"},{"id":"108009","type":"ResetTool"},{"id":"108010","type":"HelpTool"},{"id":"108011","type":"HoverTool"},{"id":"110234","type":"PanTool"},{"id":"110235","type":"WheelZoomTool"},{"id":"110236","type":"BoxZoomTool"},{"id":"110237","type":"SaveTool"},{"id":"110238","type":"ResetTool"},{"id":"110239","type":"HelpTool"},{"id":"110240","type":"HoverTool"}]},"id":"112597","type":"ProxyToolbar"},{"attributes":{"source":{"id":"110212","type":"ColumnDataSource"}},"id":"110278","type":"CDSView"},{"attributes":{"callback":null,"data":{"date":{"__ndarray__":"AABAZdUTd0IAAICWzBR3QgAAQPweFXdCAAAAYnEVd0IAAMDHwxV3QgAAwF4NF3dCAACAxF8Xd0IAAEAqshd3QgAAAJAEGHdCAADA9VYYd0IAAAAnThl3QgAAwIygGXdCAACA8vIZd0IAAEBYRRp3QgAAAL6XGndCAABA744bd0IAAABV4Rt3QgAAwLozHHdCAACAIIYcd0IAAECG2Bx3QgAAgLfPHXdCAABAHSIed0IAAACDdB53QgAAwOjGHndCAACAThkfd0IAAMB/ECB3QgAAgOViIHdCAABAS7Ugd0IAAACxByF3QgAAwBZaIXdC","dtype":"float64","shape":[30]},"h":{"__ndarray__":"UrgehesbgEAAAAAAAEiAQAAAAAAAqIFASOF6FK5pgUA9CtejcPmBQAAAAAAAYIRA16NwPQovh0DXo3A9ComHQJqZmZmZu4dAmpmZmZk3iEDD9Shcj+yHQHE9CtejiodAAAAAAADwhkAAAAAAAPCGQKRwPQrX1YZAUrgehev7iEAAAAAAACiJQJqZmZmZGYlAw/UoXI8ui0Bcj8L1KCaIQAAAAAAA0IdAj8L1KFz3iEBmZmZmZq6IQDMzMzMz44hAAAAAAADAiUAAAAAAAMCJQLgehetRWopAAAAAAADQiUB7FK5H4RqJQGZmZmZmKIlA","dtype":"float64","shape":[30]},"l":{"__ndarray__":"CtejcD1GfUCPwvUoXB9/QB+F61G4ooBAcT0K16OqgEB7FK5H4WiBQArXo3A9JIJAPQrXo3CjhUAAAAAAADCGQPYoXI/CFYZA4XoUrkddh0BI4XoUrkGGQLgehetRDoVASOF6FK6FhUDXo3A9CvmFQD0K16Nw0YVAAAAAAAD4hkDsUbgehaWHQOF6FK5HeYhAAAAAAADch0C4HoXrUViFQAAAAAAA0IVAPQrXo3DRh0B7FK5H4ciHQM3MzMzMIohArkfhehSYiEAAAAAAAIiIQAAAAAAAQIlAZmZmZmbah0AAAAAAAOCHQGZmZmZmlIhA","dtype":"float64","shape":[30]},"o":{"__ndarray__":"AAAAAADYf0AzMzMzM/N/QAAAAAAACIFAmpmZmZlRgUAfhetRuJCBQOF6FK5HcYJA9ihcj8LXhUAAAAAAADCHQOxRuB6FZ4ZACtejcD0iiECamZmZmeWGQClcj8L10IZApHA9Ctf/hUDNzMzMzLyGQBSuR+F6NoZAexSuR+EMh0CF61G4Ht2IQI/C9ShcsYhA7FG4HoW5ikAAAAAAAJiHQAAAAAAA6IVAuB6F61GuiEAAAAAAAESIQEjhehSuSYhAXI/C9SjOiECuR+F6FLSIQAAAAAAA2IlAcT0K16OmiUAAAAAAAGCIQM3MzMzMsohA","dtype":"float64","shape":[30]}},"selected":{"id":"110297","type":"Selection"},"selection_policy":{"id":"110298","type":"UnionRenderers"}},"id":"110212","type":"ColumnDataSource"},{"attributes":{"line_alpha":0.1,"line_color":"#1f77b4","x":{"field":"date"},"y":{"field":"l"}},"id":"110276","type":"Line"},{"attributes":{},"id":"103596","type":"LinearScale"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_multi":null,"active_scroll":"auto","active_tap":"auto","tools":[{"id":"108005","type":"PanTool"},{"id":"108006","type":"WheelZoomTool"},{"id":"108007","type":"BoxZoomTool"},{"id":"108008","type":"SaveTool"},{"id":"108009","type":"ResetTool"},{"id":"108010","type":"HelpTool"},{"id":"108011","type":"HoverTool"}]},"id":"108012","type":"Toolbar"},{"attributes":{"text":""},"id":"105353","type":"Title"},{"attributes":{"callback":null},"id":"110216","type":"DataRange1d"},{"attributes":{"data_source":{"id":"110212","type":"ColumnDataSource"},"glyph":{"id":"110275","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"110276","type":"Line"},"selection_glyph":null,"view":{"id":"110278","type":"CDSView"}},"id":"110277","type":"GlyphRenderer"},{"attributes":{"days":[1,8,15,22]},"id":"105364","type":"DaysTicker"},{"attributes":{"callback":null,"overlay":{"id":"107551","type":"PolyAnnotation"}},"id":"105794","type":"LassoSelectTool"},{"attributes":{"bottom_units":"screen","fill_alpha":{"value":0.5},"fill_color":{"value":"lightgrey"},"left_units":"screen","level":"overlay","line_alpha":{"value":1.0},"line_color":{"value":"black"},"line_dash":[4,4],"line_width":{"value":2},"render_mode":"css","right_units":"screen","top_units":"screen"},"id":"110259","type":"BoxAnnotation"},{"attributes":{},"id":"109796","type":"BasicTickFormatter"},{"attributes":{"months":[0,1,2,3,4,5,6,7,8,9,10,11]},"id":"105366","type":"MonthsTicker"},{"attributes":{"callback":null,"overlay":{"id":"107550","type":"BoxAnnotation"}},"id":"105793","type":"BoxSelectTool"},{"attributes":{"text":"Day to Day Stock Price Change"},"id":"108030","type":"Title"},{"attributes":{},"id":"105357","type":"BasicTickFormatter"},{"attributes":{"line_color":"#FB9A99","x":{"field":"date"},"y":{"field":"h"}},"id":"110250","type":"Line"},{"attributes":{},"id":"110222","type":"LinearScale"},{"attributes":{"days":[1,4,7,10,13,16,19,22,25,28]},"id":"109802","type":"DaysTicker"},{"attributes":{},"id":"110297","type":"Selection"},{"attributes":{"callback":null},"id":"103594","type":"DataRange1d"},{"attributes":{"label":{"value":"Low Price"},"renderers":[{"id":"110277","type":"GlyphRenderer"}]},"id":"110299","type":"LegendItem"},{"attributes":{"line_color":"#B2DF8A","x":{"field":"date"},"y":{"field":"o"}},"id":"110301","type":"Line"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"size":{"units":"screen","value":10},"x":{"field":"Date"},"y":{"field":"Dollar_Change"}},"id":"108027","type":"Cross"},{"attributes":{"source":{"id":"110212","type":"ColumnDataSource"}},"id":"110304","type":"CDSView"},{"attributes":{},"id":"105370","type":"YearsTicker"},{"attributes":{"bottom_units":"screen","fill_alpha":{"value":0.5},"fill_color":{"value":"lightgrey"},"left_units":"screen","level":"overlay","line_alpha":{"value":1.0},"line_color":{"value":"black"},"line_dash":[4,4],"line_width":{"value":2},"render_mode":"css","right_units":"screen","top_units":"screen"},"id":"109797","type":"BoxAnnotation"},{"attributes":{"months":[0,4,8]},"id":"110269","type":"MonthsTicker"},{"attributes":{"text":""},"id":"107545","type":"Title"},{"attributes":{"line_alpha":0.1,"line_color":"#1f77b4","x":{"field":"date"},"y":{"field":"o"}},"id":"110302","type":"Line"},{"attributes":{},"id":"107563","type":"YearsTicker"},{"attributes":{"data_source":{"id":"107985","type":"ColumnDataSource"},"glyph":{"id":"108026","type":"Cross"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"108027","type":"Cross"},"selection_glyph":null,"view":{"id":"108029","type":"CDSView"}},"id":"108028","type":"GlyphRenderer"},{"attributes":{"callback":null},"id":"110218","type":"DataRange1d"},{"attributes":{},"id":"110298","type":"UnionRenderers"},{"attributes":{"data_source":{"id":"110212","type":"ColumnDataSource"},"glyph":{"id":"110301","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"110302","type":"Line"},"selection_glyph":null,"view":{"id":"110304","type":"CDSView"}},"id":"110303","type":"GlyphRenderer"},{"attributes":{"source":{"id":"107985","type":"ColumnDataSource"}},"id":"108029","type":"CDSView"},{"attributes":{"months":[0,6]},"id":"105369","type":"MonthsTicker"},{"attributes":{},"id":"109794","type":"DatetimeTickFormatter"},{"attributes":{"callback":null},"id":"103592","type":"DataRange1d"},{"attributes":{"axis_label":"Date","formatter":{"id":"110256","type":"DatetimeTickFormatter"},"ticker":{"id":"110225","type":"DatetimeTicker"}},"id":"110224","type":"DatetimeAxis"},{"attributes":{},"id":"110220","type":"LinearScale"},{"attributes":{},"id":"109809","type":"YearsTicker"},{"attributes":{"base":60,"mantissas":[1,2,5,10,15,20,30],"max_interval":1800000.0,"min_interval":1000.0,"num_minor_ticks":0},"id":"105360","type":"AdaptiveTicker"},{"attributes":{"fill_color":{"value":"blue"},"line_color":{"value":"blue"},"line_width":{"value":3},"x":{"field":"time_period"},"y":{"field":"count"}},"id":"105801","type":"Circle"},{"attributes":{"base":24,"mantissas":[1,2,4,6,8,12],"max_interval":43200000.0,"min_interval":3600000.0,"num_minor_ticks":0},"id":"109800","type":"AdaptiveTicker"},{"attributes":{"data_source":{"id":"105773","type":"ColumnDataSource"},"glyph":{"id":"105799","type":"Circle"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"105800","type":"Circle"},"selection_glyph":{"id":"105801","type":"Circle"},"view":{"id":"105803","type":"CDSView"}},"id":"105802","type":"GlyphRenderer"},{"attributes":{"source":{"id":"105773","type":"ColumnDataSource"}},"id":"105803","type":"CDSView"},{"attributes":{"days":[1,4,7,10,13,16,19,22,25,28]},"id":"107556","type":"DaysTicker"},{"attributes":{"callback":null,"tooltips":"\n <div>\n <h3>sent_analysis</h3>\n <div><strong>date: </strong>@date</div>\n <div><strong>daily_score: </strong>@daily_score</div>\n \n \n </div>\n"},"id":"103633","type":"HoverTool"},{"attributes":{"base":24,"mantissas":[1,2,4,6,8,12],"max_interval":43200000.0,"min_interval":3600000.0,"num_minor_ticks":0},"id":"107554","type":"AdaptiveTicker"},{"attributes":{},"id":"105781","type":"LinearScale"},{"attributes":{"overlay":{"id":"105358","type":"BoxAnnotation"}},"id":"103612","type":"BoxZoomTool"},{"attributes":{"source":{"id":"103590","type":"ColumnDataSource"}},"id":"103627","type":"CDSView"},{"attributes":{"below":[{"id":"105783","type":"DatetimeAxis"}],"center":[{"id":"105787","type":"Grid"},{"id":"105792","type":"Grid"}],"left":[{"id":"105788","type":"LinearAxis"}],"plot_height":500,"plot_width":400,"renderers":[{"id":"105802","type":"GlyphRenderer"}],"title":{"id":"107545","type":"Title"},"toolbar":{"id":"105795","type":"Toolbar"},"toolbar_location":null,"x_range":{"id":"105775","type":"DataRange1d"},"x_scale":{"id":"105779","type":"LinearScale"},"y_range":{"id":"105777","type":"DataRange1d"},"y_scale":{"id":"105781","type":"LinearScale"}},"id":"105774","subtype":"Figure","type":"Plot"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"size":{"units":"screen","value":10},"x":{"field":"date"},"y":{"field":"daily_score"}},"id":"103630","type":"Circle"},{"attributes":{"source":{"id":"103590","type":"ColumnDataSource"}},"id":"103632","type":"CDSView"},{"attributes":{},"id":"103615","type":"HelpTool"},{"attributes":{"fill_alpha":{"value":0.5},"fill_color":{"value":"lightgrey"},"level":"overlay","line_alpha":{"value":1.0},"line_color":{"value":"black"},"line_dash":[4,4],"line_width":{"value":2},"xs_units":"screen","ys_units":"screen"},"id":"107551","type":"PolyAnnotation"},{"attributes":{},"id":"103613","type":"SaveTool"},{"attributes":{"axis_label":"Tweets per Day","formatter":{"id":"107549","type":"BasicTickFormatter"},"ticker":{"id":"105789","type":"BasicTicker"}},"id":"105788","type":"LinearAxis"},{"attributes":{"mantissas":[1,2,5],"max_interval":500.0,"num_minor_ticks":0},"id":"107552","type":"AdaptiveTicker"},{"attributes":{"days":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]},"id":"107555","type":"DaysTicker"},{"attributes":{"months":[0,1,2,3,4,5,6,7,8,9,10,11]},"id":"109805","type":"MonthsTicker"},{"attributes":{},"id":"103610","type":"PanTool"},{"attributes":{},"id":"103614","type":"ResetTool"},{"attributes":{},"id":"103611","type":"WheelZoomTool"},{"attributes":{},"id":"105789","type":"BasicTicker"},{"attributes":{"months":[0,2,4,6,8,10]},"id":"107560","type":"MonthsTicker"},{"attributes":{"dimension":1,"ticker":{"id":"105789","type":"BasicTicker"}},"id":"105792","type":"Grid"},{"attributes":{},"id":"105372","type":"UnionRenderers"},{"attributes":{"days":[1,8,15,22]},"id":"109803","type":"DaysTicker"},{"attributes":{"callback":null},"id":"107987","type":"DataRange1d"},{"attributes":{},"id":"107549","type":"BasicTickFormatter"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_multi":null,"active_scroll":"auto","active_tap":"auto","tools":[{"id":"103610","type":"PanTool"},{"id":"103611","type":"WheelZoomTool"},{"id":"103612","type":"BoxZoomTool"},{"id":"103613","type":"SaveTool"},{"id":"103614","type":"ResetTool"},{"id":"103615","type":"HelpTool"},{"id":"103633","type":"HoverTool"}]},"id":"103616","type":"Toolbar"},{"attributes":{"base":60,"mantissas":[1,2,5,10,15,20,30],"max_interval":1800000.0,"min_interval":1000.0,"num_minor_ticks":0},"id":"107553","type":"AdaptiveTicker"},{"attributes":{"callback":null},"id":"105775","type":"DataRange1d"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_multi":null,"active_scroll":"auto","active_tap":"auto","tools":[{"id":"105793","type":"BoxSelectTool"},{"id":"105794","type":"LassoSelectTool"},{"id":"105804","type":"HoverTool"}]},"id":"105795","type":"Toolbar"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"grey"},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"line_width":{"value":3},"x":{"field":"time_period"},"y":{"field":"count"}},"id":"105800","type":"Circle"},{"attributes":{"below":[{"id":"107995","type":"DatetimeAxis"}],"center":[{"id":"107999","type":"Grid"},{"id":"108004","type":"Grid"}],"left":[{"id":"108000","type":"LinearAxis"}],"plot_height":500,"plot_width":400,"renderers":[{"id":"108023","type":"GlyphRenderer"},{"id":"108028","type":"GlyphRenderer"}],"title":{"id":"108030","type":"Title"},"toolbar":{"id":"108012","type":"Toolbar"},"toolbar_location":null,"x_range":{"id":"107987","type":"DataRange1d"},"x_scale":{"id":"107991","type":"LinearScale"},"y_range":{"id":"107989","type":"DataRange1d"},"y_scale":{"id":"107993","type":"LinearScale"}},"id":"107986","subtype":"Figure","type":"Plot"},{"attributes":{"base":24,"mantissas":[1,2,4,6,8,12],"max_interval":43200000.0,"min_interval":3600000.0,"num_minor_ticks":0},"id":"105361","type":"AdaptiveTicker"},{"attributes":{"days":[1,15]},"id":"110266","type":"DaysTicker"},{"attributes":{},"id":"107564","type":"Selection"},{"attributes":{},"id":"107547","type":"DatetimeTickFormatter"},{"attributes":{"data_source":{"id":"103590","type":"ColumnDataSource"},"glyph":{"id":"103629","type":"Circle"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"103630","type":"Circle"},"selection_glyph":null,"view":{"id":"103632","type":"CDSView"}},"id":"103631","type":"GlyphRenderer"},{"attributes":{"callback":null,"data":{"Close":{"__ndarray__":"XI/C9SgAfkBSuB6F6yGAQJqZmZmZC4FAH4XrUbgmgUAAAAAAAOiBQJqZmZmZV4RAhetRuB4vhkBxPQrXo86GQEjhehSuSYdAhetRuB6Ph0B7FK5H4VKHQPYoXI/CdYVAexSuR+HghkDXo3A9Cg2GQDMzMzMzqYZAAAAAAAD2iEApXI/C9QiIQK5H4XoUBIlA16NwPQpviEDD9Shcj+qFQOxRuB6FyYdASOF6FK4BiEBxPQrXo3SIQLgehetRYIhAj8L1KFybiUC4HoXrUVqJQOF6FK5HS4lASOF6FK63iEBxPQrXoxqJQI/C9Shc+YhA","dtype":"float64","shape":[30]},"Date":{"__ndarray__":"AABAZdUTd0IAAICWzBR3QgAAQPweFXdCAAAAYnEVd0IAAMDHwxV3QgAAwF4NF3dCAACAxF8Xd0IAAEAqshd3QgAAAJAEGHdCAADA9VYYd0IAAAAnThl3QgAAwIygGXdCAACA8vIZd0IAAEBYRRp3QgAAAL6XGndCAABA744bd0IAAABV4Rt3QgAAwLozHHdCAACAIIYcd0IAAECG2Bx3QgAAgLfPHXdCAABAHSIed0IAAACDdB53QgAAwOjGHndCAACAThkfd0IAAMB/ECB3QgAAgOViIHdCAABAS7Ugd0IAAACxByF3QgAAwBZaIXdC","dtype":"float64","shape":[30]},"Dollar_Change":{"__ndarray__":"AAAAAAAA+H89CtejcB1CQPYoXI/CNT1AH4XrUbgeC0ApXI/C9Sg4QM3MzMzMfFNAuB6F61F4TUBxPQrXo/AzQMP1KFyPwi5AXI/C9ShcIUAfhetRuB4ewFK4HoXr0U3AUrgeheuxRkB7FK5H4Xo6wIXrUbgehTNAZmZmZmZmUkDhehSuR6E9wKRwPQrXYz9A4XoUrkehMsCkcD0K1yNUwI/C9Shc701AFK5H4XoUHEA9CtejcL0sQFK4HoXrUQTAcT0K16OwQ0DD9Shcj0IgwBSuR+F6FP6/MzMzMzNzMsA9CtejcL0oQKRwPQrXoxDA","dtype":"float64","shape":[30]},"High":{"__ndarray__":"UrgehesbgEAAAAAAAEiAQAAAAAAAqIFASOF6FK5pgUA9CtejcPmBQAAAAAAAYIRA16NwPQovh0DXo3A9ComHQJqZmZmZu4dAmpmZmZk3iEDD9Shcj+yHQHE9CtejiodAAAAAAADwhkAAAAAAAPCGQKRwPQrX1YZAUrgehev7iEAAAAAAACiJQJqZmZmZGYlAw/UoXI8ui0Bcj8L1KCaIQAAAAAAA0IdAj8L1KFz3iEBmZmZmZq6IQDMzMzMz44hAAAAAAADAiUAAAAAAAMCJQLgehetRWopAAAAAAADQiUB7FK5H4RqJQGZmZmZmKIlA","dtype":"float64","shape":[30]},"Low":{"__ndarray__":"CtejcD1GfUCPwvUoXB9/QB+F61G4ooBAcT0K16OqgEB7FK5H4WiBQArXo3A9JIJAPQrXo3CjhUAAAAAAADCGQPYoXI/CFYZA4XoUrkddh0BI4XoUrkGGQLgehetRDoVASOF6FK6FhUDXo3A9CvmFQD0K16Nw0YVAAAAAAAD4hkDsUbgehaWHQOF6FK5HeYhAAAAAAADch0C4HoXrUViFQAAAAAAA0IVAPQrXo3DRh0B7FK5H4ciHQM3MzMzMIohArkfhehSYiEAAAAAAAIiIQAAAAAAAQIlAZmZmZmbah0AAAAAAAOCHQGZmZmZmlIhA","dtype":"float64","shape":[30]},"Open":{"__ndarray__":"AAAAAADYf0AzMzMzM/N/QAAAAAAACIFAmpmZmZlRgUAfhetRuJCBQOF6FK5HcYJA9ihcj8LXhUAAAAAAADCHQOxRuB6FZ4ZACtejcD0iiECamZmZmeWGQClcj8L10IZApHA9Ctf/hUDNzMzMzLyGQBSuR+F6NoZAexSuR+EMh0CF61G4Ht2IQI/C9ShcsYhA7FG4HoW5ikAAAAAAAJiHQAAAAAAA6IVAuB6F61GuiEAAAAAAAESIQEjhehSuSYhAXI/C9SjOiECuR+F6FLSIQAAAAAAA2IlAcT0K16OmiUAAAAAAAGCIQM3MzMzMsohA","dtype":"float64","shape":[30]},"Percent_Change":{"__ndarray__":"AAAAAAAA+H+HFtnO91OzP0I+6Nms+qw/E2HD0ytleT+6SQwCK4emP5zEILByaME/XrpJDAIrtz+8BRIUP8acP15LyAc9m5U/4JwRpb3Bhz97FK5H4XqEv2pN845TdLS/Xf5D+u3rsD9/+zpwzoiiv6+UZYhjXZw/lkOLbOf7uT+t+lxtxf6iv4iFWtO846Q/JLn8h/Tbl7+R7Xw/NV66vwYSFD/G3LU/SFD8GHPXgj8Spb3BFyaTPy1DHOviNmq/QmDl0CLbqT/129eBc0aEv0hQ/Bhz12K/1CtlGeJYl7/ecYqO5PKPP5T2Bl+YTHW/","dtype":"float64","shape":[30]},"Unnamed: 0":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29],"Volume":[22562100,14901800,17919800,12656000,13650000,22475400,30576500,23577000,20657900,13128200,14746600,20209100,14224800,13236700,13237600,20681400,15222000,16216000,28471900,32531800,19237100,16991700,11123200,11527700,16130100,16471100,15906900,19065500,13682200,10500700],"index":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29]},"selected":{"id":"109810","type":"Selection"},"selection_policy":{"id":"109811","type":"UnionRenderers"}},"id":"107985","type":"ColumnDataSource"},{"attributes":{},"id":"105371","type":"Selection"},{"attributes":{"months":[0,6]},"id":"109808","type":"MonthsTicker"},{"attributes":{"line_color":"navy","x":{"field":"Date"},"y":{"field":"Dollar_Change"}},"id":"108021","type":"Line"},{"attributes":{},"id":"105779","type":"LinearScale"},{"attributes":{"bottom_units":"screen","fill_alpha":{"value":0.5},"fill_color":{"value":"lightgrey"},"left_units":"screen","level":"overlay","line_alpha":{"value":1.0},"line_color":{"value":"black"},"line_dash":[4,4],"line_width":{"value":2},"render_mode":"css","right_units":"screen","top_units":"screen"},"id":"107550","type":"BoxAnnotation"},{"attributes":{"days":[1,15]},"id":"109804","type":"DaysTicker"},{"attributes":{},"id":"107565","type":"UnionRenderers"},{"attributes":{"callback":null,"data":{"count":[21936,43445,32305,25330,22363,23845,23975,46900,25420,28818,26497,24605,20666,23214,43266,60311,72592,52091,29673,24388,36233,34487,31181,26637,69630,114132,141816,191464,103574,49534,35062],"index":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30],"time_period":{"__ndarray__":"AABAKrIXd0IAAACQBBh3QgAAwPVWGHdCAACAW6kYd0IAAEDB+xh3QgAAACdOGXdCAADAjKAZd0IAAIDy8hl3QgAAQFhFGndCAAAAvpcad0IAAMAj6hp3QgAAgIk8G3dCAABA744bd0IAAABV4Rt3QgAAwLozHHdCAACAIIYcd0IAAECG2Bx3QgAAAOwqHXdCAADAUX0dd0IAAIC3zx13QgAAQB0iHndCAAAAg3Qed0IAAMDoxh53QgAAgE4ZH3dCAABAtGsfd0IAAAAavh93QgAAwH8QIHdCAACA5WIgd0IAAEBLtSB3QgAAALEHIXdCAADAFlohd0I=","dtype":"float64","shape":[31]}},"selected":{"id":"107564","type":"Selection"},"selection_policy":{"id":"107565","type":"UnionRenderers"}},"id":"105773","type":"ColumnDataSource"},{"attributes":{"callback":null,"tooltips":"\n <div>\n <h3>tweets per day</h3>\n <div><strong>count: </strong>@count</div>\n <div><strong>time_period: </strong>@time_period</div>\n \n \n </div>\n"},"id":"105804","type":"HoverTool"},{"attributes":{"fill_color":{"value":"white"},"line_color":{"value":"#1f77b4"},"size":{"units":"screen","value":10},"x":{"field":"Date"},"y":{"field":"Dollar_Change"}},"id":"108026","type":"Cross"},{"attributes":{"days":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]},"id":"105362","type":"DaysTicker"},{"attributes":{"mantissas":[1,2,5],"max_interval":500.0,"num_minor_ticks":0},"id":"110260","type":"AdaptiveTicker"},{"attributes":{"num_minor_ticks":5,"tickers":[{"id":"107552","type":"AdaptiveTicker"},{"id":"107553","type":"AdaptiveTicker"},{"id":"107554","type":"AdaptiveTicker"},{"id":"107555","type":"DaysTicker"},{"id":"107556","type":"DaysTicker"},{"id":"107557","type":"DaysTicker"},{"id":"107558","type":"DaysTicker"},{"id":"107559","type":"MonthsTicker"},{"id":"107560","type":"MonthsTicker"},{"id":"107561","type":"MonthsTicker"},{"id":"107562","type":"MonthsTicker"},{"id":"107563","type":"YearsTicker"}]},"id":"105784","type":"DatetimeTicker"},{"attributes":{"months":[0,2,4,6,8,10]},"id":"109806","type":"MonthsTicker"},{"attributes":{"callback":null,"end":200000,"start":5000},"id":"105777","type":"DataRange1d"},{"attributes":{"formatter":{"id":"107547","type":"DatetimeTickFormatter"},"ticker":{"id":"105784","type":"DatetimeTicker"}},"id":"105783","type":"DatetimeAxis"},{"attributes":{"callback":null},"id":"107989","type":"DataRange1d"},{"attributes":{"months":[0,4,8]},"id":"109807","type":"MonthsTicker"}],"root_ids":["112599"]},"title":"Bokeh Application","version":"1.4.0"}}
</script>
<script type="text/javascript">
(function() {
var fn = function() {
Bokeh.safely(function() {
(function(root) {
function embed_document(root) {
var docs_json = document.getElementById('115996').textContent;
var render_items = [{"docid":"8278075c-31d7-4390-be0c-c8a2157d72ce","roots":{"112599":"c5f7cf23-0d02-4f93-8876-8bc8306c7a50"}}];
root.Bokeh.embed.embed_items(docs_json, render_items);
}
if (root.Bokeh !== undefined) {
embed_document(root);
} else {
var attempts = 0;
var timer = setInterval(function(root) {
if (root.Bokeh !== undefined) {
clearInterval(timer);
embed_document(root);
} else {
attempts++;
if (attempts > 100) {
clearInterval(timer);
console.log("Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing");
}
}
}, 10, root)
}
})(window);
});
};
if (document.readyState != "loading") fn();
else document.addEventListener("DOMContentLoaded", fn);
})();
</script>
</body>
</html>