Skip to content

Gallery

Every report below is compiled from the examples/ folder of the repository. Their data is generated once by a seeded script and committed: the build computes, it never invents.

Quarterly report

Twenty-four months of sales in three regions, a JSON list of regions and YAML targets: :value with growth, a line chart split by region, a bar chart, a sorted table and key figures.

Lorem Ipsum QuarterlyOpen fullscreen

Lorem Ipsum Quarterly

Revenue, orders and regions of Lorem Ipsum, computed from the data at build time.

Summary

Revenue reached €3,425.00 in the last month, and moved by 5.7% over the previous quarter. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Revenue, two years
70.7K
Orders
1,733
Regions
3
Monthly revenue by region
Monthly revenue by regionLine chart of Lorem, Ipsum, Dolor by month, 24 points. Lorem: minimum 1,178 (2025-01), maximum 1,643 (2026-12), trend: up; Ipsum: minimum 748 (2025-01), maximum 1,073 (2026-07), trend: up; Dolor: minimum 460 (2025-03), maximum 763 (2026-12), trend: up.05001,0001,5002,0002025-012025-052025-092026-012026-052026-09
  • Lorem
  • Ipsum
  • Dolor
Data
monthLoremIpsumDolor
January 20251,178748488
February 20251,275851471
March 20251,178827460
April 20251,277864569
May 20251,276894580
June 20251,272803526
July 20251,298893572
August 20251,381849531
September 20251,383925553
October 20251,420957586
November 20251,363964563
December 20251,382884580
January 20261,3611,000615
February 20261,437946640
March 20261,511952675
April 20261,484928649
May 20261,537951614
June 20261,450946604
July 20261,5571,073640
August 20261,518969661
September 20261,5711,011636
October 20261,6341,011695
November 20261,6421,063716
December 20261,6431,019763

Regions

Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. The largest region is Lorem.

Revenue of the last twelve months
RegionRevenueGrowth
Lorem€18,345.0017%
Ipsum€11,869.0013.5%
Dolor€7,908.0022.1%
Revenue by region
Revenue by regionBar chart of revenue by name, 3 points. revenue: minimum 7,908 (Dolor), maximum 18,345 (Lorem), trend: down.05,00010,00015,00020,000LoremIpsumDolor
Data
namerevenue
Lorem18,345
Ipsum11,869
Dolor7,908

Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.

Targets

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore.

Yearly targets
YearTargetReached
2025€33,000.00No
2026€37,000.00Yes

Study

Three hundred answers to a survey, with categorical columns: area and dot charts, color=, stack and where. It is written in MDX: its last section adds JSX to the Markdown, rendered to HTML at build time like the others.

Lorem Ipsum StudyOpen fullscreen

Lorem Ipsum Study

Three hundred answers of a Lorem Ipsum survey, every figure computed from them.

Method

Lorem ipsum dolor sit amet, consectetur adipiscing elit. The survey gathered 300 answers over six months, in four groups.

Average score
6.6
Hours, in all
1.8K
Satisfied answers
160

Time spent

Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Hours by month and group
Hours by month and groupArea chart of Lorem, Ipsum, Dolor, Sit by month, 6 points. Lorem: minimum 59.4 (2026-01), maximum 84.5 (2026-04), trend: up; Ipsum: minimum 61 (2026-02), maximum 93.2 (2026-05), trend: down; Dolor: minimum 67.2 (2026-01), maximum 86.5 (2026-02), trend: up; Sit: minimum 68.4 (2026-05), maximum 81.1 (2026-01), trend: down.0501001502002503003502026-012026-022026-032026-042026-052026-06
  • Lorem
  • Ipsum
  • Dolor
  • Sit
Data
monthLoremIpsumDolorSit
January 202659.486.667.281.1
February 202674.46186.574.4
March 202669.290.486.568.5
April 202684.566.57574.6
May 202681.293.273.468.4
June 202674.678.885.675.9

Scores

Ut enim ad minim veniam, quis nostrud exercitation. The group Lorem scores 5.6 on average.

Scores of the group Lorem by month
Scores of the group Lorem by monthDot chart of score by month, 6 points. score: minimum 60 (2026-02), maximum 85 (2026-01), trend: down.0204060801002026-012026-022026-032026-042026-052026-06
Data
monthscore
January 202685
February 202660
March 202667
April 202669
May 202669
June 202667
Scores by group
Scores by groupBar chart of score by group, 4 points. score: minimum 417 (Lorem), maximum 572 (Sit), trend: up.0100200300400500600LoremIpsumDolorSit
Data
groupscore
Lorem417
Ipsum476
Dolor529
Sit572

Answers

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore. The first answers, in order:

The first sixty answers
respondentgroupmonthscorehours
R001LoremJanuary 202672
R002IpsumJanuary 202686.8
R003DolorJanuary 202659.8
R004SitJanuary 202675.7
R005LoremJanuary 202682.8
R006IpsumJanuary 202676.8
R007DolorJanuary 202646.1
R008SitJanuary 202674.7
R009LoremJanuary 202659.3
R010IpsumJanuary 202683.4
R011DolorJanuary 202668.9
R012SitJanuary 2026105.5
R013LoremJanuary 202654.6
R014IpsumJanuary 202638.6
R015DolorJanuary 202655.4
R016SitJanuary 202664.1
R017LoremJanuary 202654.1
R018IpsumJanuary 202648.4
R019DolorJanuary 202652.2
R020SitJanuary 202669.5
R021LoremJanuary 202636.1
R022IpsumJanuary 202685.1
R023DolorJanuary 202664.3
R024SitJanuary 202697.9
R025LoremJanuary 202662.3
R026IpsumJanuary 202666.2
R027DolorJanuary 202686.3
R028SitJanuary 202698.3
R029LoremJanuary 202699.9
R030IpsumJanuary 202679.8
R031DolorJanuary 202656.8
R032SitJanuary 2026107.6
R033LoremJanuary 202672.9
R034IpsumJanuary 202668.8
R035DolorJanuary 202686.9
R036SitJanuary 2026106
R037LoremJanuary 202684.7
R038IpsumJanuary 202647
R039DolorJanuary 202693.3
R040SitJanuary 2026610
R041LoremJanuary 202682.3
R042IpsumJanuary 202675.2
R043DolorJanuary 202662.3
R044SitJanuary 202682.7
R045LoremJanuary 202675.7
R046IpsumJanuary 202646.7
R047DolorJanuary 202674.9
R048SitJanuary 2026109.1
R049LoremJanuary 202672.7
R050IpsumJanuary 202693.8
R051DolorFebruary 202697.9
R052SitFebruary 202654.2
R053LoremFebruary 202662.3
R054IpsumFebruary 202663.1
R055DolorFebruary 202688
R056SitFebruary 202684.6
R057LoremFebruary 202648
R058IpsumFebruary 202672.5
R059DolorFebruary 202663.6
R060SitFebruary 202655.4

Reading the figures

Answers by group
  • Lorem: 75
  • Ipsum: 75
  • Dolor: 75
  • Sit: 75
examples/report-study/study.story.mdx
--- title: Lorem Ipsum Study description: Three hundred answers of a Lorem Ipsum survey, every figure computed from them. format: report lang: en date: 2026-07-01 data: survey: src: ./data/survey.csv columns: respondent: string group: string month: date score: number hours: number satisfied: boolean numbering: true --- --- id=method ## Method Lorem ipsum dolor sit amet, consectetur adipiscing elit. The survey gathered :value{data=survey agg=count} answers over six months, in four groups. :::kpi{cols=3} - :value{data=survey field=score agg=avg digits=1} Average score - :value{data=survey field=hours agg=sum format=compact} Hours, in all - :value{data=survey agg=count where="satisfied=true"} Satisfied answers ::: --- id=time ## Time spent Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. ::chart{data=survey type=area x=month y=hours color=group stack title="Hours by month and group"} --- id=scores ## Scores Ut enim ad minim veniam, quis nostrud exercitation. The group Lorem scores :value{data=survey field=score agg=avg where="group=Lorem" digits=1} on average. ::chart{data=survey type=dot x=month y=score where="group=Lorem" title="Scores of the group Lorem by month"} ::chart{data=survey type=bar x=group y=score title="Scores by group"} --- id=answers ## Answers Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore. The first answers, in order: ::table{data=survey columns="respondent,group,month,score,hours" limit=60 caption="The first sixty answers"} --- id=reading ## Reading the figures <aside aria-label="Reading note"> Every figure comes from :value{data=survey agg=count} answers, computed at build time. </aside> <details> <summary>Answers by group</summary> {/* One line per group: the count is computed, the names are the data's */} - Lorem: :value{data=survey agg=count where="group=Lorem"} - Ipsum: :value{data=survey agg=count where="group=Ipsum"} - Dolor: :value{data=survey agg=count where="group=Dolor"} - Sit: :value{data=survey agg=count where="group=Sit"} </details>