---
title: ToolRouter — Agent Use Case Guide
description: Step-by-step guide for completing a task with a specific AI agent using ToolRouter.
url: https://toolrouter.com/tools/generate-chart/use-cases/create-report-visualizations/copilot
---
# How to Create Report Visualizations with Copilot

Copilot 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.

## Setup

{"mcpServers":{"toolrouter":{"command":"npx","args":["-y","toolrouter-mcp"]}}}

## Steps

1. Add ToolRouter to Copilot MCP config
2. In Copilot Chat: "Create a line chart from this JSON data for our sprint report"
3. Copilot generates the chart and returns the image
4. Ask: "Generate charts for all the metrics in this dataset"

## Example Prompt

```
Create a line chart showing sprint velocity over the last 8 sprints: [34, 38, 36, 41, 39, 44, 42, 47]. Label the x-axis as sprint number.
```

## Tips

- Pass data as JSON or arrays directly from your codebase for quick visualization
- Great for generating charts for technical documentation and sprint retrospectives
