Build an Interactive Taxonomy Tree from Web Research with Kimi K2 Thinking | Alpha | PandaiTech

Build an Interactive Taxonomy Tree from Web Research with Kimi K2 Thinking

Learn how to prompt Kimi K2 to conduct web research on complex topics (like human gut bacteria) and organize that information into an interactive, expandable tree chart.

Learning Timeline
Key Insights

Deep Research Automation

Kimi K2 doesn't just generate visuals; it automatically performs a 'multi-step web search' (for example, retrieving 25 additional results) to ensure the data in the chart is comprehensive without requiring manual input.

No-Code Interactive Functions

The generated code allows complex features like 'Zoom', 'Drag', 'Click to Expand', and 'Hover Details' to work instantly in the browser without the user needing to write any JavaScript or CSS code.
Prompts

Research & Tree Visualization Prompt

Target: Kimi K2
Search the web and find the latest information on human gut bacteria species. Build an interactive phylogeny tree code based on this research. Each node should show microbial functions and health impacts when hovered.
Step by Step

Research & Data Visualization Workflow

  1. Type a prompt asking for web research on a specific topic and format the output as a 'phylogeny tree' or tree chart.
  2. Ensure the prompt instructions include interactivity requirements, such as 'show functions on hover'.
  3. Enable the 'Web Search' button on the Kimi K2 interface to allow the AI to access the latest data.
  4. Click the 'Run' button to begin the process.
  5. Wait for Kimi K2 to finish searching for sources (the AI will display the search status) and generating the code.
  6. Look at the generated code output section, then click the 'Copy code' button.
  7. Open a text editor application (such as Notepad or VS Code) on your computer.
  8. Paste the copied code into a new file.
  9. Save the file in `.html` format (e.g., `bacteria_tree.html`).
  10. Open the `.html` file using a web browser (Chrome/Edge/Firefox) to interact with your completed chart.