Free plan

Data report

Turn a table into a finished report with charts, as PDF or picture
POST
/v1/render/data-report

About this tool

This tool reads a table, such as CSV, Excel or JSON, and builds a report. It shows a title, the size of the table, what each column holds, a histogram (a bar chart of how values are spread) for each number column, the most common values for each text column and the first rows.
For example, you create a one-page summary of a spreadsheet to send to your team.

How to use it

  1. Choose this tool.
  2. Add your table with Upload or drag and drop.
  3. Choose which parts of the report you want, and add a title or a note.
  4. Press Generate.
  5. Download the report.

What you get back

You get a finished report as a PDF or picture. Download it and share it.
GOOD TO KNOW
The numbers come from the same profile as the data tools. A PDF runs over as many pages as the report needs. A table with no rows is refused. Counts as one render.
TEST IT LIVE

Try Data report in the Studio

One click opens the Studio with this tool already selected. Add your file and see the result in seconds.
Open in the Studio
Family
Render
Plan
Free
Method
POST
Endpoint
/v1/render/data-report
Tool ID
render.data-report
Authentication
API key
Accepts
Text and settings
Background jobs
Yes
Usage group
Render
For developers

Use it from your code

cURL

curl -X POST "https://app.h2i.davixlabs.io/v1/render/data-report" \
  -H "X-Api-Key: $DAVIX_H2I_API_KEY" \
  -F 'file=@document.pdf' \
  -F 'sections=["summary","charts"]' \
  -F 'columns=["region","amount"]' \
  -F 'top_values=8'

Node.js

const { DavixH2I } = require('@davixlabs/h2i-sdk');

const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.render.dataReport({
    "file": 'document.pdf',
    "sections": "[\"summary\",\"charts\"]",
    "columns": "[\"region\",\"amount\"]",
    "top_values": 8
  });
console.log(result.data, result.requestId);

PHP

<?php
require 'vendor/autoload.php';

$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->render()->dataReport([
    'file' => 'document.pdf',
    'sections' => '["summary","charts"]',
    'columns' => '["region","amount"]',
    'top_values' => 8,
]);
echo $result->requestId;
FAQ

Frequently asked questions

Turn a table (CSV, Excel, JSON …) into a finished report as a PDF or a picture: a title block, the size of the table, what every column holds, a histogram for each number column, the most common values of each text column and the first rows.

Data report works from text and settings, so no file is needed. Every input is optional.

Data report is included in every plan, including Free. Each run uses credits from your monthly allowance.

Send a POST request to /v1/render/data-report with your API key in the X-Api-Key header. Official SDKs for Node.js, Python, PHP, Go, Java, .NET and Ruby do the same for you, and the code box on this page shows ready-to-copy examples. For large work it can also run as a background job, so your request returns straight away.