I’m not sure what I’m doing wrong but I can’t get my holoviews graph to display on my Wordpress site. I have no problem with interactive Bokeh graphs displaying.
It works fine as a local html, works when I preview it, but when I publish the page it disappears.
I’m still new to all this so I’m not sure what other info is needed.
Here’s what I’m using for the graph:
data_scat = macro.to.scatter(‘Year’, ‘Age’)
overlay = data_scat.overlay(‘Ethnicity of Surname’)
hv.output(widget_location=‘top’)
overlay.opts(
opts.Scatter(color=hv.Cycle(‘Set1’), size=5,
show_grid=True, width=800, height=400),
opts.NdOverlay(legend_position=‘left’, show_frame=False))