Skip to content
chiltepin
chiltepin docs
Blocks reference

Charts & overviews

When to use each of the 14 charts & overviews blocks, with a live example of every one.

The charts & overviews blocks: what each one is for, how to choose between neighbours, and a live starter example you can edit — converted at build time from the authoring skill your agent reads. Every example body is YAML; in a real doc the fence language is the block type (for example sequence … ). Schemas are strict — unknown fields are rejected. The full field contract for any block — every field, enum, and terse one-line form, generated from the schema — is npx chiltepin block <type>. See the block catalog for every block rendered on one page.

Shape: the widest family. Time (chart, gantt, journey, slopegraph); Grid (heatmap, quadrant); Flow (sankey); Containment (treemap, venn); Network (graph, mindmap); hierarchy and proportion (tree, pyramid, chart kinds); causes behind one outcome (fishbone). Answers: What changes over time? How does the whole split? Where does the volume go? Where do items sit on two axes? What causes this? Not this family: one headline number → bignumber; a few KPIs with trends → stats; exact values → table; boundaries → architecture.md.

graph — node-link graph

Nodes and edges on a grid, no nesting; weight renders on the edge pill. Answers: what connects to what? For BFS / DFS / Dijkstra walkthroughs set node state (visited, current, frontier, target). graph, not flow, with no start or end.

```grapheditable · live
renderedchiltepin renders this
SECTION 01 · Graph

Dependency graph

GRAPH
GraphG0Module AG1Module BG2Module CG3Shared
LegendnodeG1groupedgeundirected (no head)
Valid — passes chiltepin check

tree — indented hierarchy (HTML, not SVG)

Nodes by parent. Plain: an indented outline. variant: issue: a MECE issue tree, left to right. variant: org: a top-down org chart with role under each name; more than 6 reports stack in two columns. value on nodes makes a driver tree: each node shows its number and its share of its parent. Answers: how does this break down? tree, not bintree, for hierarchies; fishbone for causes.

```treeeditable · live
renderedchiltepin renders this
SECTION 01 · Hierarchy
src
components
hooks
index.tsentry point
Valid — passes chiltepin check

mindmap — radial idea map

One center, branches right and left, children on each, accent per branch. Answers: what belongs to this topic? tree for a directed hierarchy; fishbone for causes.

```mindmapeditable · live
renderedchiltepin renders this
SECTION 01 · Mind map
MIND MAP
Mind map: Onboarding v2, 3 branchs, 9 nodesOnboarding v2AccountSSO firstTeam invitesData importCSVAPI syncLearningProduct tourTemplates
LegendAccountData importLearning
Valid — passes chiltepin check

gantt — schedule bars

Task bars across named periods, tinted by kind. Answers: what runs when? gantt, not timeline, when bars span periods.

```gantteditable · live
renderedchiltepin renders this
SECTION 01 · Schedule

Roadmap

GANTT
ScheduleQ1Q2Q3Q4DiscoveryBuildShipGA
Legendplanneddonein progressmilestone
Valid — passes chiltepin check

chart — a data chart (bar / stacked / line / area / scatter / donut / pie / gauge / radar / waterfall / funnel / pareto / histogram / bell / boxplot / bullet)

labels + series drive bar, stacked, line, area, radar, and category scatter; items drive donut, pie, gauge, waterfall, funnel, pareto; points drive a numeric scatter with guides; values drive histogram and bell (or give mean + sd and markers); boxes drive boxplot; bullets drive bullet. Answers: how does the number move or split? Pick the kind by the question: stacked when the total matters as much as the split; gauge for one number against a ceiling; donut for a whole that sums; waterfall for parts against a budget; funnel for drop-off between ordered stages; radar needs 3+ labels; pareto for the few causes behind most of the effect (80% rule drawn); histogram for how raw values spread; bell for a normal curve with named points; boxplot to compare spreads; bullet for a measure vs a target.

```charteditable · live
renderedchiltepin renders this
SECTION 01 · Chart

p95 latency by week

CHART
Chart0ms100ms200ms300ms400msW1W2W3W4
Legend/orders/search
Valid — passes chiltepin check

sankey — how much moves between stages

Node height and ribbon width share one scale; nodes are inferred from the links. Answers: where does the volume go? Declare nodes only for a label, an accent, or a pinned col. sankey for volumes; flow for the path; funnel chart for drop-off.

```sankeyeditable · live
renderedchiltepin renders this
SECTION 01 · Flow volumes

Where the cloud bill goes

SANKEY
Flow volumesBill → Compute: 62k62kBill → Storage: 28k28kBill → Network: 10k10kCompute → Batch: 24k24kCompute → Serving: 38k38kBill100kCompute62kStorage28kNetwork10kBatch24kServing38k
Legendstage (height = volume)flow (width = volume)heaviest flow
Valid — passes chiltepin check

treemap — proportional composition

Squarified tiles, area = value, biggest first. Answers: what dominates the whole? treemap, not donut, past six slices.

```treemapeditable · live
renderedchiltepin renders this
SECTION 01 · Composition

Cloud spend by service

TREEMAP
TreemapCompute62k · 58%EC2 + LambdaCompute: 62k (58%)Storage28k · 26%Storage: 28k (26%)Network10k · 9%Network: 10k (9%)Observability7k · 7%Observability: 7k (7%)
Legenditem (area = value)focal item
Valid — passes chiltepin check

venn — two or three overlapping sets

Fixed circles; shared.sets names set labels and puts a label in that lens. Answers: what do two groups share? A Venn names regions; it never measures.

```venneditable · live
renderedchiltepin renders this
SECTION 01 · Overlap

Who owns what

VENN
VennPlatformruntime and CIProductfeaturesRelease process
Legendsetoverlap (darker = shared)
Valid — passes chiltepin check

fishbone — cause & effect (Ishikawa)

One effect at the head, cause categories as bones, specific causes along each bone. Keep 1–8 bones and up to 8 short items per bone. Answers: what causes this? fishbone, not tree, for suspected causes behind one outcome.

```fishboneeditable · live
renderedchiltepin renders this
SECTION 01 · Cause & effect

Why checkout latency rose

FISHBONE
FishboneCodeSync capture callN+1 cart queryTrafficFlash-sale spikesInfrastructureUndersized DB poolp95 checkoutover 2s
LegendeffectBONEcause categoryspecific cause
Valid — passes chiltepin check

slopegraph — ranked before / after

One line per item between two value columns on a shared linear scale; crossings are the story. Quote left / right years. Give accent to the one or two lines that matter. Answers: what rose, what fell, what held? slopegraph for many items at two points; chart line for a few series over many points.

```slopegrapheditable · live
renderedchiltepin renders this
SECTION 01 · Before / after

Support volume by channel

SLOPEGRAPH
Slopegraph20232025Email: 48% → 22%Email 48%22% EmailChat: 20% → 45%Chat 20%45% ChatPhone: 32% → 33%Phone 32%33% Phone
Legenditemfocal item
Valid — passes chiltepin check

heatmap — a numeric grid with an intensity ramp

Cells tinted light-to-deep on one ramp, normalised to the data (or min / max). Answers: where is it hot? heatmap for a dense value grid; matrix for categorical cells; table when the reader needs exact rows.

```heatmapeditable · live
renderedchiltepin renders this
SECTION 01 · Heatmap

p95 latency by region

HEATMAP
00
06
12
18
us-east-1
120
135
210
265
eu-west-1
110
150
240
190
ap-south-1
180
220
310
280
Legend110–160 ms160–210 ms210–260 ms260–310 ms
Valid — passes chiltepin check

pyramid — stacked hierarchy (top → bottom widening)

Levels that widen downward, each with a description. Answers: what rests on what? pyramid, not layers, when the widening shape is the message.

```pyramideditable · live
renderedchiltepin renders this
SECTION 01 · Pyramid
PyramidVisionLong-term directionStrategyHow we get thereTacticsThis quarterTasksThis week
Valid — passes chiltepin check

quadrant — 2×2 matrix

Items plotted at x / y (0–1) on two labelled axes. Answers: where does each item sit? quadrant for placement by judgement; scatter chart with points for data.

```quadranteditable · live
renderedchiltepin renders this
SECTION 01 · Matrix

Effort vs impact

2×2
QuadrantEffort →↑ ImpactLowHighHighLowQuick winBig betFill-inThankless
Valid — passes chiltepin check

journey — user journey map with optional emotion curve

Stages across the top, rows of cells beneath, an optional emotion curve (0–1 per stage). Answers: what does the user experience at each stage? journey for experience; funnel chart for drop-off numbers; storymap for scope per activity.

```journeyeditable · live
renderedchiltepin renders this
SECTION 01 · Journey

Onboarding journey

DiscoverSign upActivatePay
TouchpointLandingFormEmailCheckout
FrictionLowMedLowMed
Emotion
Emotion curve
Legendpositiveneutral
Valid — passes chiltepin check