Bokeh-Circle-Plot-1

Sat 17 May 2025

from bokeh.plotting import figure, output_file, show
from bokeh.io import output_notebook
from bokeh.models import ColumnDataSource
# Set Bokeh output to notebook
output_notebook()
Loading BokehJS ...
# Sample 3: Bar Plot
categories = ['A', 'B', 'C', 'D', 'E']
values = [10, 20, 15, 25, 30]
# Sample 5: Circle Glyph
circle_plot = figure(title="Sample Circle Glyph", x_axis_label='X-Axis', y_axis_label='Y-Axis')
circle_plot.circle(x = categories, y = values, size=10, color="navy", alpha=0.5, legend_label="Circle")
BokehDeprecationWarning: 'circle() method with size value' was deprecated in Bokeh 3.4.0 and will be removed, use 'scatter(size=...) instead' instead.
GlyphRenderer(
id = 'p1160', …)
show(circle_plot)


Score: 5

Category: bokeh