import pandas as pd import json def generate_interactive_graph(docs_df): if docs_df is None or docs_df.empty: return '''