Graph extension creates script nodes in its HTML output, which seem to get extracted as if they were text by Hovercards:
The graphs extension can avoid this by adding a class to the script nodes and making sure this is listed in the config option ExtractsRemoveClasses