P = {
var p = Bokeh.Plotting.figure({x_range: new Bokeh.FactorRange({factors: x, range_padding: 0.1}),
plot_height: 300, plot_width:800, toolbar_location: null, title: "Fruit Counts By Year"})
p.vbar({x, top: counts, width:0.9}) ;
p.xaxis.map((axis) => axis.major_label_orientation = 1) ;
p.xgrid.map((grid) => grid.grid_line_color = null) ;
p.y_range_start = 0 ;
return p ;
}