The analytics document editor.

The home to unify, refine, and share insights.

infigure.studio/acme/nyc-taxi-trips

January trips report

NYC Taxi Trips

January 2025 trips from the NYC Taxi and Limousine Commission.

Fare

$89M

Average fare

$25.61

Trips

3,475,204

Fares climbed through the month and peaked on January 16.

Daily fares

By payment

Credit card

77%

$68,636,093.24

$89,004,415.50

cityledger.example/taxis-in-january

Why January was the busiest month for yellow cabs

NYC Taxi Trips

January 2025 trips from the NYC Taxi and Limousine Commission, summarised by day, payment type and vendor.

Trips overview

2025-01-01 – 2025-01-31

Fare

$89M

Average fare

$25.61

Daily fares

By payment

Credit card

77%

$68,636,093.24

$89,004,415.50

Trips

3,475,204

Passengers

3,809,275

Vendors

4

Days

31

Build with your agent, refine with your team

Prompt Claude or Codex over MCP to build a figure from your data, or open the Infigure editor and tune its colour, spacing and type by hand. Both edit the same document.

Chart January fares by day from the NYC taxi data.

I'll check what the data holds first.

get_data_source_schematrip_summary.parquet · 9 columns
query_dataDaily fares · 31 rows
create_blockArea chart, bound to Daily fares
set_block_propertiescolour · accent → primary

Done. The chart reads Daily fares, so it follows the data.

infigure.studio/acme/nyc-taxi-trips

Daily fares

Build every figure your way.

Analytics Objects

Charts, tables and KPIs ready to drop in, styled by your design tokens.

Line chart

Bar chart

Table

Share
Credit card2,444,377$68.6M
77%
Other540,149$10.8M
12%
Cash390,423$8.5M
10%
Dispute76,481$885.1K
<1%
No charge23,773$146.1K
<1%

Map

Code panel

Every visual is a React file you can open, read and change.

infigure.studio/acme/nyc-taxi-trips
LineChart.tsx
1"use client";
2
3import { Area, AreaChart, ResponsiveContainer, Tooltip, XAxis } from "recharts";
4
5// A daily series as an area chart, under its label. The bound table arrives as its rows.
6
7type Row = Record<string, unknown>;
8
9const usd = new Intl.NumberFormat("en-US", {
10 style: "currency",
11 currency: "USD",
12});
13
14const rowsOf = (bound: unknown): Row[] => {
15 if (Array.isArray(bound)) return bound as Row[];
16 if (!bound || typeof bound !== "object") return [];
17 const record = bound as Record<string, unknown>;
18 if (typeof record.toArray === "function") {
19 return (record.toArray() as Array<{ toJSON?: () => Row }>).map((row) =>
20 typeof row.toJSON === "function" ? row.toJSON() : (row as Row)
21 );
22 }
23 if (record.mode === "row") return record.row ? [record.row as Row] : [];
24 if (Array.isArray(record.rows)) return record.rows as Row[];
25 return [];
26};
27
28export type LineChartProps = {
29 label: string;
30 data: unknown;
31 accent?: string;
32};
33
34function LineChart({ label, data, accent = "#ffb232" }: LineChartProps) {
35 const rows = rowsOf(data).map((row) => ({
36 ...row,
37 fares: Number(row.fares),
38 }));
39 return (
40 <div className='flex h-full w-full flex-col'>
41 <p className='text-xs text-[rgba(25,28,29,0.6)]'>{label}</p>
42 <div className='mt-2 min-h-0 w-full flex-1'>
43 <ResponsiveContainer width='100%' height='100%'>
44 <AreaChart
45 data={rows}
46 margin={{ top: 4, right: 0, bottom: 0, left: 0 }}
47 >
48 <XAxis dataKey='day' hide />
49 <Tooltip
50 formatter={(value) => [usd.format(Number(value)), "Fares"]}
51 labelFormatter={(value) =>
52 new Date(String(value)).toLocaleDateString("en-US", {
53 month: "short",
54 day: "numeric",
55 })
56 }
57 contentStyle={{
58 backgroundColor: "#18181b",
59 border: "1px solid #3f3f46",
60 borderRadius: 8,

Design tokens

Colours, fonts and spacing are tokens that every block follows.

primary#ffb232
secondary#F28E2B
range
Aageist-sans
h1

Heading

36
p

Body text

16

Documents that query your data

Tables, sheets, and metrics all run on a centralised DuckDB engine with a first-class SQL editor. Connect the major data sources, so the numbers in your document stay current.

Daily trips31 rows

date

unique

integer

integer

currency

12025-01-0190,188114,678$2,291,683.00
22025-01-0284,832117,187$2,362,624.59
32025-01-0391,250125,595$2,438,794.47
42025-01-0497,804138,718$2,488,944.14
52025-01-0579,624108,054$2,226,058.63
62025-01-0680,12696,680$2,213,771.75
72025-01-07100,643114,339$2,589,091.07
82025-01-08113,897122,996$2,848,398.53
92025-01-09119,285129,656$3,039,258.82
102025-01-10111,494126,693$2,884,812.31
112025-01-11121,966143,385$2,904,881.88
122025-01-12102,510114,236$2,636,042.15
132025-01-13100,492108,503$2,628,218.59
142025-01-14121,735126,412$3,079,084.01
152025-01-15125,359129,708$3,187,032.51
162025-01-16138,711139,447$3,595,777.16
172025-01-17120,994128,515$3,116,709.57
182025-01-18119,812134,814$2,792,968.18
192025-01-19118,232112,699$2,714,089.61
202025-01-2090,09490,299$3,286,658.29
212025-01-21117,592115,456$2,981,599.79
222025-01-22127,259124,107$3,128,331.95
232025-01-23138,136134,918$3,452,987.17
242025-01-24129,546135,451$3,234,853.15
252025-01-25136,816152,845$3,176,920.42
262025-01-26102,228112,356$2,614,047.26
272025-01-2793,060100,831$2,455,714.74
282025-01-28114,002118,551$2,859,088.74
292025-01-29120,672126,172$3,040,905.05
302025-01-30133,266134,552$3,412,903.60
312025-01-31133,579131,422$3,322,164.37
Trips4 columns

pickup_day

date · 31 unique

vendor

text · 4 unique

payment_type

text · 6 unique

total_amount

currency · 16 unique

Average fare.sql
1SELECT
2 CAST(sum(fares) / sum(trips) AS DOUBLE) AS value
3FROM "trip_summary.parquet"
Average fare
$25.61

Build your first analytics document