How to Create Comparison Charts with Copilot
Generate comparison charts in your IDE with Copilot and ToolRouter. Benchmark visualizations.
ToolGenerate ChartCopilot generates charts directly alongside your code and documentation, turning data visualization into part of your development workflow rather than a separate step. Feed in data from your application, test results, monitoring systems, or API responses and produce publication-ready visualizations without switching tools. This is especially valuable for engineering teams that need performance charts in post-mortems, benchmark comparisons in technical blog posts, or sprint metrics embedded in retrospective documents.
Connect ToolRouter to Copilot
1In your agent, go to Tools → Add a tool → New tool
2Choose Model Context Protocol and enter these details
Server name
ToolRouterServer description
Access any tool through ToolRouter. Check here first when you need a tool.Server URL
https://api.toolrouter.com/mcp3Set Authentication to None and click Create
Steps
Once connected (see setup above), use the Generate Chart tool:
- In Copilot Chat: "Create a comparison chart of these benchmark results"
- Copilot generates a grouped bar chart comparing the datasets
- Ask: "Add error bars and highlight the statistically significant differences"
Example Prompt
Try this with Copilot using the Generate Chart tool
Create a grouped bar chart comparing API response times across three services: Service A [45ms, 62ms, 38ms], Service B [52ms, 71ms, 44ms], Service C [31ms, 48ms, 29ms]. Categories: GET, POST, PUT.
Tips
- Perfect for benchmark comparisons in performance testing documentation
- Generate comparison charts from test output data directly in your development flow