
  // Initialize the visualization
  let svg, simulation, link, node, width, height;
  let container; // Make container global
  let linksGroup, nodesGroup; // Add group references
  const nodes = [];
  const links = [];

  // Initial dataset
  const initialConcepts = {
    // "relevant_concepts": ["AI", "machine learning", "data science", "neural networks", "deep learning", "natural language processing"],
    // "orthogonal_concepts": ["academic research", "philosophy of mind", "cognitive science"],
    //