Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

bokeh bar chart

from bokeh.charts import Bar, output_file, show
from bokeh.sampledata.autompg import autompg as df

p = Bar(df, 'cyl', values='mpg', title="Total MPG by CYL")

output_file("bar.html")

show(p)
 
PREVIOUS NEXT
Tagged: #bokeh #bar #chart
ADD COMMENT
Topic
Name
1+5 =