Graflume · Alpha
Calendar · Edge-case application
Explore daily intensity, seasonality, and gaps in a calendar grid. Exercise numeric range, sparse structure, and large inputs with valid data. Each tab materializes data only when needed and never silently repairs invalid values.
Chart family · Default families
Calendar
Explore daily intensity, seasonality, and gaps in a calendar grid.
- Quick API
calendar()- Browser snapshot
graflume- mark
calendar- Presets
- 1
Edge cases
Numeric range, irregular structure, and data volume
Exercise numeric range, sparse structure, and large inputs with valid data. Each tab materializes data only when needed and never silently repairs invalid values.
Wide numeric range
Mix zero, very small finite values, and very large finite values to verify automatic domains, precision, and stable geometry. NaN and Infinity remain intentionally invalid. It applies 2 data-integrity rules that preserve finite values and axis domains.
StatusLoading
extreme-rangeextreme-smallextreme-largezeromixed-signbudget:marks<=6
Loading
Wide numeric range · Row data
Row data and zero-copy TypedArray columns share one data contract.
datetemporal | valuequantitative |
|---|---|
| 2025-01-01 | -1e+12 |
| 2025-01-02 | -1e-09 |
| 2025-01-03 | 0 |
| 2025-01-04 | 1e+12 |
| 2025-01-05 | 1e-09 |
| 2025-01-06 | 1e+06 |
Browser API · Portable schema
Browser API
Graflume.calendar()
const data = [
{
"date": "2025-01-01",
"value": -1000000000000
},
{
"date": "2025-01-02",
"value": -1e-9
},
{
"date": "2025-01-03",
"value": 0
},
{
"date": "2025-01-04",
"value": 1000000000000
},
{
"date": "2025-01-05",
"value": 1e-9
},
{
"date": "2025-01-06",
"value": 1000000
}
];
const options = {
"accessibility": {
"description": "A complete year of daily activity with weekday rhythm and a release lift. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
"label": "Calendar"
},
"axes": {
"x": false,
"y": false
},
"height": 620,
"interaction": {
"hover": true,
"tooltip": {
"fields": [
{
"dateStyle": "long",
"field": "date",
"format": "date",
"label": "Date",
"timeZone": "UTC"
},
{
"field": "value",
"format": "number",
"label": "Value"
}
],
"title": "Calendar",
"trigger": "mark"
}
},
"locale": "en",
"title": {
"subtitle": "edge case · range",
"text": "Calendar"
},
"width": "container",
"x": {
"field": "date",
"title": "Date",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Daily sessions",
"type": "quantitative"
}
};
Graflume.calendar('#chart', data, options);Portable schema
ChartSpec 0.1 · options
{
"accessibility": {
"description": "A complete year of daily activity with weekday rhythm and a release lift. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
"label": "Calendar"
},
"axes": {
"x": false,
"y": false
},
"height": 620,
"interaction": {
"hover": true,
"tooltip": {
"fields": [
{
"dateStyle": "long",
"field": "date",
"format": "date",
"label": "Date",
"timeZone": "UTC"
},
{
"field": "value",
"format": "number",
"label": "Value"
}
],
"title": "Calendar",
"trigger": "mark"
}
},
"locale": "en",
"title": {
"subtitle": "edge case · range",
"text": "Calendar"
},
"width": "container",
"x": {
"field": "date",
"title": "Date",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Daily sessions",
"type": "quantitative"
}
}Sparse and irregular structure
Exercise only duplicate, missing, sparse, or out-of-order structures whose meaning is defined for this family. Broken references and malformed tuples are never disguised as successful examples. It applies 3 structural rules that preserve the meaning of missing, duplicate, and ordered values.
StatusLoading
irregular-structuresparseduplicate-keyout-of-ordernullbudget:marks<=7
Loading
Sparse and irregular structure · Row data
Row data and zero-copy TypedArray columns share one data contract.
datetemporal | valuequantitative |
|---|---|
| 2025-01-03 | 61 |
| 2025-01-01 | — |
| 2025-01-03 | 61 |
| 2025-01-04 | 45 |
| 2025-01-05 | 46 |
| 2025-01-06 | 64 |
| 2025-01-02 | 60 |
Browser API · Portable schema
Browser API
Graflume.calendar()
const data = [
{
"date": "2025-01-03",
"value": 61
},
{
"date": "2025-01-01",
"value": null
},
{
"date": "2025-01-03",
"value": 61
},
{
"date": "2025-01-04",
"value": 45
},
{
"date": "2025-01-05",
"value": 46
},
{
"date": "2025-01-06",
"value": 64
},
{
"date": "2025-01-02",
"value": 60
}
];
const options = {
"accessibility": {
"description": "A complete year of daily activity with weekday rhythm and a release lift. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
"label": "Calendar · Sparse and irregular structure"
},
"axes": {
"x": false,
"y": false
},
"height": 620,
"interaction": {
"hover": true,
"tooltip": {
"fields": [
{
"dateStyle": "long",
"field": "date",
"format": "date",
"label": "Date",
"timeZone": "UTC"
},
{
"field": "value",
"format": "number",
"label": "Value"
}
],
"title": "Calendar · Sparse and irregular structure",
"trigger": "mark"
}
},
"locale": "en",
"title": {
"subtitle": "edge case · structure",
"text": "Calendar · Sparse and irregular structure"
},
"width": "container",
"x": {
"field": "date",
"title": "Date",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Daily sessions",
"type": "quantitative"
}
};
Graflume.calendar('#chart', data, options);Portable schema
ChartSpec 0.1 · options
{
"accessibility": {
"description": "A complete year of daily activity with weekday rhythm and a release lift. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
"label": "Calendar · Sparse and irregular structure"
},
"axes": {
"x": false,
"y": false
},
"height": 620,
"interaction": {
"hover": true,
"tooltip": {
"fields": [
{
"dateStyle": "long",
"field": "date",
"format": "date",
"label": "Date",
"timeZone": "UTC"
},
{
"field": "value",
"format": "number",
"label": "Value"
}
],
"title": "Calendar · Sparse and irregular structure",
"trigger": "mark"
}
},
"locale": "en",
"title": {
"subtitle": "edge case · structure",
"text": "Calendar · Sparse and irregular structure"
},
"width": "container",
"x": {
"field": "date",
"title": "Date",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Daily sessions",
"type": "quantitative"
}
}High data volume
Materialize a deterministic compact recipe only when this tab opens. Graflume's performance profile bounds mark count, hit testing, and animation work for the input size. It applies 6 high-volume rules for deterministic generation and bounded output. This family materializes 60,000 logical rows and bounds rendered bar marks at 12,000.
StatusLoading
high-row-cardinalityall-input-rows-generatedall-input-rows-processeddeterministic-generationbounded-renderinginput:60000zoom-pan-resetbudget:bar-marks<=12000
- Legend:
legend · continuous · value - Point and range highlights:
highlights[] · datum · date - Custom callouts:
annotations[] · datum · date · callout · placement:auto
Loading
Browser API · Portable schema
Browser API
Graflume.calendar()
const recipe = {
"cardinality": {
"axes": {},
"sourceRows": 60000,
"unit": "rows"
},
"expectedInvariants": [
"finite-json",
"valid-calendar-date"
],
"id": "time-signal",
"initialView": {
"kind": "domain",
"zoom": 1
},
"outputBudget": {
"maximum": 12000,
"resource": "bar-marks"
},
"parameters": {
"dateCycleDays": 3000,
"family": "calendar",
"nullableFields": [
"value"
],
"positiveFields": [],
"scenario": "volume",
"valueFields": [
"value"
],
"valuePolicy": "signed"
},
"preview": {
"maximumRows": 12,
"method": "quantiles"
},
"reduction": {
"method": "time-bin-lttb",
"stage": "bin"
},
"seed": 4113832601,
"shape": "rows",
"version": 2
};
const { data, previewRows, plan } = Graflume.materializeDemoRecipe(recipe);
const options = {
"accessibility": {
"description": "Zoom and pan inspect the rendered surface without changing data axes or values. When playback controls are available, they move through real steps in the order each unique value first appears in the source data.",
"label": "Calendar · High data volume"
},
"annotations": [
{
"connector": {
"visible": true
},
"detail": "Attach user-authored safe text to a datum, axis range, or normalized plot position.",
"id": "manual-callout",
"placement": "auto",
"style": {
"maxWidth": 220,
"padding": 8
},
"target": {
"field": "date",
"type": "datum",
"value": "2027-08-26"
},
"text": "Point and range highlights · 2027-08-26"
}
],
"axes": {
"x": false,
"y": false
},
"create": {
"adaptive": {
"environment": {
"rowCount": 60000
},
"largeDataNavigation": true,
"profiles": "auto"
}
},
"height": 620,
"highlights": [
{
"id": "manual-focus",
"padding": 7,
"target": {
"field": "date",
"type": "datum",
"value": "2027-08-26"
}
}
],
"interaction": {
"controls": {
"annotations": false,
"export": true,
"fullscreen": true,
"labels": {
"controls": "Chart controls",
"enterFullscreen": "Enter fullscreen",
"exitFullscreen": "Exit fullscreen",
"exportPng": "Download PNG",
"hideAnnotations": "Hide callouts",
"loop": "Loop playback",
"nextFrame": "Next frame",
"pause": "Pause",
"play": "Play",
"previousFrame": "Previous frame",
"reset": "Reset view",
"seek": "Playback position",
"showAnnotations": "Show callouts",
"speed": "Playback speed",
"zoomIn": "Zoom in",
"zoomOut": "Zoom out"
},
"playback": false,
"reset": true,
"zoom": true
},
"hover": true,
"navigation": {
"drag": true,
"keyboard": true,
"maxZoom": 6,
"minZoom": 1,
"pinch": true,
"wheel": "modifier"
},
"tooltip": {
"fields": [
{
"dateStyle": "long",
"field": "date",
"format": "date",
"label": "Date",
"timeZone": "UTC"
},
{
"field": "value",
"format": "number",
"label": "Value"
}
],
"title": "Calendar · High data volume",
"trigger": "mark"
}
},
"legend": {
"field": "value",
"interactive": false,
"labels": {
"hide": "Hide",
"show": "Show"
},
"maxItems": 8,
"mode": "continuous",
"orientation": "horizontal",
"position": "bottom",
"title": "Value",
"visible": true
},
"locale": "en",
"padding": {
"top": 52
},
"performance": "auto",
"theme": "graflume-light",
"title": {
"subtitle": "A complete year of daily activity with weekday rhythm and a release lift · 60,000 logical rows, screen-aware detail",
"text": "Calendar · High data volume"
},
"width": "container",
"x": {
"field": "date",
"title": "Date",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Daily sessions",
"type": "quantitative"
}
};
Graflume.calendar('#chart', data, options);Portable schema
ChartSpec 0.1 · options
{
"accessibility": {
"description": "Zoom and pan inspect the rendered surface without changing data axes or values. When playback controls are available, they move through real steps in the order each unique value first appears in the source data.",
"label": "Calendar · High data volume"
},
"annotations": [
{
"connector": {
"visible": true
},
"detail": "Attach user-authored safe text to a datum, axis range, or normalized plot position.",
"id": "manual-callout",
"placement": "auto",
"style": {
"maxWidth": 220,
"padding": 8
},
"target": {
"field": "date",
"type": "datum",
"value": "2027-08-26"
},
"text": "Point and range highlights · 2027-08-26"
}
],
"axes": {
"x": false,
"y": false
},
"create": {
"adaptive": {
"environment": {
"rowCount": 60000
},
"largeDataNavigation": true,
"profiles": "auto"
}
},
"height": 620,
"highlights": [
{
"id": "manual-focus",
"padding": 7,
"target": {
"field": "date",
"type": "datum",
"value": "2027-08-26"
}
}
],
"interaction": {
"controls": {
"annotations": false,
"export": true,
"fullscreen": true,
"labels": {
"controls": "Chart controls",
"enterFullscreen": "Enter fullscreen",
"exitFullscreen": "Exit fullscreen",
"exportPng": "Download PNG",
"hideAnnotations": "Hide callouts",
"loop": "Loop playback",
"nextFrame": "Next frame",
"pause": "Pause",
"play": "Play",
"previousFrame": "Previous frame",
"reset": "Reset view",
"seek": "Playback position",
"showAnnotations": "Show callouts",
"speed": "Playback speed",
"zoomIn": "Zoom in",
"zoomOut": "Zoom out"
},
"playback": false,
"reset": true,
"zoom": true
},
"hover": true,
"navigation": {
"drag": true,
"keyboard": true,
"maxZoom": 6,
"minZoom": 1,
"pinch": true,
"wheel": "modifier"
},
"tooltip": {
"fields": [
{
"dateStyle": "long",
"field": "date",
"format": "date",
"label": "Date",
"timeZone": "UTC"
},
{
"field": "value",
"format": "number",
"label": "Value"
}
],
"title": "Calendar · High data volume",
"trigger": "mark"
}
},
"legend": {
"field": "value",
"interactive": false,
"labels": {
"hide": "Hide",
"show": "Show"
},
"maxItems": 8,
"mode": "continuous",
"orientation": "horizontal",
"position": "bottom",
"title": "Value",
"visible": true
},
"locale": "en",
"padding": {
"top": 52
},
"performance": "auto",
"theme": "graflume-light",
"title": {
"subtitle": "A complete year of daily activity with weekday rhythm and a release lift · 60,000 logical rows, screen-aware detail",
"text": "Calendar · High data volume"
},
"width": "container",
"x": {
"field": "date",
"title": "Date",
"type": "temporal"
},
"y": {
"field": "value",
"title": "Daily sessions",
"type": "quantitative"
}
}