Live Guppi bar charts can now be embedded in any HTML viewed in Gnucash. This demo doesn't do much but it's possible to add callbacks to mouse clicks on the graph or the legend.
and this one.