# Board pack: six charts, PDF + HTML, AI summary

**Use case:** 

Forty sample rows drawn six ways (bar, monthly line, stacked bar by series, donut, scatter, horizontal bar of averages), then a PDF and HTML report with KPIs, a data preview and a plain-English AI summary that only sees the aggregated numbers.

## Input

```json
{
  "fileFormat": "auto",
  "data": [
    {
      "date": "2026-04-30",
      "region": "Midlands",
      "category": "Lighting",
      "revenue": 1166.62,
      "units": 5,
      "source": "Referral"
    },
    {
      "date": "2026-02-21",
      "region": "Midlands",
      "category": "Lighting",
      "revenue": 1567.24,
      "units": 2,
      "source": "Google"
    },
    {
      "date": "2026-04-29",
      "region": "East",
      "category": "Fuse board",
      "revenue": 354.01,
      "units": 1,
      "source": "Checkatrade"
    },
    {
      "date": "2026-04-30",
      "region": "Midlands",
      "category": "Testing",
      "revenue": 504.36,
      "units": 1,
      "source": "Google"
    },
    {
      "date": "2026-01-20",
      "region": "North",
      "category": "Fuse board",
      "revenue": 2129.02,
      "units": 5,
      "source": "Google"
    },
    {
      "date": "2026-05-03",
      "region": "East",
      "category": "Lighting",
      "revenue": 1479.66,
      "units": 2,
      "source": "Referral"
    },
    {
      "date": "2026-03-21",
      "region": "West",
      "category": "Rewire",
      "revenue": 1640.51,
      "units": 4,
      "source": "Repeat customer"
    },
    {
      "date": "2026-04-19",
      "region": "Midlands",
      "category": "Rewire",
      "revenue": 1742.57,
      "units": 3,
      "source": "Referral"
    },
    {
      "date": "2026-05-16",
      "region": "East",
      "category": "Rewire",
      "revenue": 308,
      "units": 1,
      "source": "Checkatrade"
    },
    {
      "date": "2026-02-01",
      "region": "East",
      "category": "Lighting",
      "revenue": 300.36,
      "units": 1,
      "source": "Google"
    },
    {
      "date": "2026-02-28",
      "region": "South",
      "category": "Rewire",
      "revenue": 1207.47,
      "units": 4,
      "source": "Checkatrade"
    },
    {
      "date": "2026-01-23",
      "region": "Midlands",
      "category": "Testing",
      "revenue": 596.6,
      "units": 3,
      "source": "Repeat customer"
    },
    {
      "date": "2026-01-27",
      "region": "East",
      "category": "EV charger",
      "revenue": 184.09,
      "units": 4,
      "source": "Google"
    },
    {
      "date": "2026-02-08",
      "region": "South",
      "category": "Testing",
      "revenue": 377.35,
      "units": 1,
      "source": "Checkatrade"
    },
    {
      "date": "2026-05-09",
      "region": "South",
      "category": "Testing",
      "revenue": 1408.41,
      "units": 4,
      "source": "Referral"
    },
    {
      "date": "2026-02-07",
      "region": "West",
      "category": "Testing",
      "revenue": 1013.44,
      "units": 4,
      "source": "Checkatrade"
    },
    {
      "date": "2026-02-28",
      "region": "North",
      "category": "EV charger",
      "revenue": 2094.75,
      "units": 5,
      "source": "Repeat customer"
    },
    {
      "date": "2026-01-10",
      "region": "South",
      "category": "Fuse board",
      "revenue": 1037.12,
      "units": 5,
      "source": "Google"
    },
    {
      "date": "2026-01-15",
      "region": "South",
      "category": "Fuse board",
      "revenue": 1143.47,
      "units": 1,
      "source": "Repeat customer"
    },
    {
      "date": "2026-03-21",
      "region": "West",
      "category": "Rewire",
      "revenue": 317.13,
      "units": 2,
      "source": "Referral"
    },
    {
      "date": "2026-01-08",
      "region": "Midlands",
      "category": "EV charger",
      "revenue": 986.33,
      "units": 4,
      "source": "Referral"
    },
    {
      "date": "2026-06-04",
      "region": "West",
      "category": "Fault finding",
      "revenue": 455.41,
      "units": 4,
      "source": "Referral"
    },
    {
      "date": "2026-02-13",
      "region": "East",
      "category": "Fuse board",
      "revenue": 1990.05,
      "units": 2,
      "source": "Referral"
    },
    {
      "date": "2026-02-14",
      "region": "Midlands",
      "category": "Fuse board",
      "revenue": 1695.69,
      "units": 4,
      "source": "Checkatrade"
    },
    {
      "date": "2026-01-25",
      "region": "West",
      "category": "Rewire",
      "revenue": 383.64,
      "units": 1,
      "source": "Repeat customer"
    },
    {
      "date": "2026-03-07",
      "region": "West",
      "category": "EV charger",
      "revenue": 1096.83,
      "units": 5,
      "source": "Checkatrade"
    },
    {
      "date": "2026-03-21",
      "region": "Midlands",
      "category": "Fuse board",
      "revenue": 2240.78,
      "units": 1,
      "source": "Referral"
    },
    {
      "date": "2026-03-04",
      "region": "West",
      "category": "Fault finding",
      "revenue": 1620.39,
      "units": 5,
      "source": "Google"
    },
    {
      "date": "2026-03-17",
      "region": "South",
      "category": "Fuse board",
      "revenue": 1835.22,
      "units": 1,
      "source": "Repeat customer"
    },
    {
      "date": "2026-04-20",
      "region": "West",
      "category": "Fuse board",
      "revenue": 286.03,
      "units": 2,
      "source": "Repeat customer"
    },
    {
      "date": "2026-04-09",
      "region": "Midlands",
      "category": "Fault finding",
      "revenue": 2339.4,
      "units": 1,
      "source": "Repeat customer"
    },
    {
      "date": "2026-02-09",
      "region": "West",
      "category": "EV charger",
      "revenue": 1628.1,
      "units": 5,
      "source": "Referral"
    },
    {
      "date": "2026-01-13",
      "region": "North",
      "category": "Lighting",
      "revenue": 2197.98,
      "units": 3,
      "source": "Google"
    },
    {
      "date": "2026-01-10",
      "region": "Midlands",
      "category": "Testing",
      "revenue": 318.38,
      "units": 1,
      "source": "Repeat customer"
    },
    {
      "date": "2026-03-27",
      "region": "South",
      "category": "Rewire",
      "revenue": 319.34,
      "units": 5,
      "source": "Repeat customer"
    },
    {
      "date": "2026-01-16",
      "region": "South",
      "category": "EV charger",
      "revenue": 941.63,
      "units": 4,
      "source": "Google"
    },
    {
      "date": "2026-04-21",
      "region": "North",
      "category": "Lighting",
      "revenue": 1438.82,
      "units": 5,
      "source": "Checkatrade"
    },
    {
      "date": "2026-04-12",
      "region": "Midlands",
      "category": "Rewire",
      "revenue": 1519.95,
      "units": 1,
      "source": "Google"
    },
    {
      "date": "2026-02-03",
      "region": "East",
      "category": "Lighting",
      "revenue": 1788.47,
      "units": 4,
      "source": "Checkatrade"
    },
    {
      "date": "2026-04-27",
      "region": "West",
      "category": "Fault finding",
      "revenue": 338.51,
      "units": 5,
      "source": "Google"
    }
  ],
  "maxRows": 5000,
  "charts": [
    {
      "type": "bar",
      "title": "Revenue by category",
      "x": "category",
      "y": "revenue",
      "aggregate": "sum"
    },
    {
      "type": "line",
      "title": "Revenue by month",
      "x": "date",
      "y": "revenue",
      "timeUnit": "month"
    },
    {
      "type": "stackedBar",
      "title": "Units by region and category",
      "x": "region",
      "y": "units",
      "series": "category"
    },
    {
      "type": "donut",
      "title": "Jobs by lead source",
      "x": "source"
    },
    {
      "type": "scatter",
      "title": "Units against revenue",
      "x": "units",
      "y": "revenue",
      "series": "category"
    },
    {
      "type": "horizontalBar",
      "title": "Average job value by region",
      "x": "region",
      "y": "revenue",
      "aggregate": "mean",
      "yFormat": ",.0f"
    }
  ],
  "width": 900,
  "height": 500,
  "theme": "dark",
  "accentColor": "#ff6b4a",
  "imageFormats": [
    "png",
    "svg"
  ],
  "scale": 2,
  "generateReport": true,
  "reportTitle": "Electrical jobs, January to May 2026",
  "reportSubtitle": "Forty jobs across five regions and six job types",
  "reportFormats": [
    "pdf",
    "html"
  ],
  "tableRows": 12,
  "aiSummary": true,
  "aiModel": "anthropic/claude-haiku-4.5"
}
```

## Output

```json
{
  "kind": {
    "label": "Kind",
    "format": "text"
  },
  "title": {
    "label": "Title",
    "format": "text"
  },
  "chartType": {
    "label": "Chart",
    "format": "text"
  },
  "x": {
    "label": "X field",
    "format": "text"
  },
  "y": {
    "label": "Y field",
    "format": "text"
  },
  "aggregate": {
    "label": "Aggregate",
    "format": "text"
  },
  "rowsUsed": {
    "label": "Rows used",
    "format": "number"
  },
  "categories": {
    "label": "Categories",
    "format": "number"
  },
  "pngUrl": {
    "label": "PNG",
    "format": "link"
  },
  "svgUrl": {
    "label": "SVG",
    "format": "link"
  },
  "pdfUrl": {
    "label": "PDF report",
    "format": "link"
  },
  "htmlUrl": {
    "label": "HTML report",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [Dataset Charts & Report (Chart Images + PDF from Any Data)](https://apify.com/nerolabs/dataset-charts-report.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/nerolabs/dataset-charts-report.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
This Task's input is already configured above — use it as-is rather than inventing a new one.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/nerolabs/dataset-charts-report.md

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).
