Repository navigation
Expand file tree
/
Copy pathwhy-chartifact.idoc.json
More file actions
247 lines (247 loc) Β· 11.1 KB
/
Copy pathwhy-chartifact.idoc.json
File metadata and controls
247 lines (247 loc) Β· 11.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
{
"$schema": "../../../docs/schema/idoc_v1.json",
"title": "Why Chartifact: A Document Format for the LLM Age",
"style": {
"css": [
"html, body { height: 100%; margin: 0; padding: 0; scroll-behavior: smooth; overflow-y: auto; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }",
"body { scroll-snap-type: y mandatory; }",
".group { scroll-snap-align: start; min-height: 100vh; margin: 0; padding: 3em 2em; box-sizing: border-box; display: flex; flex-direction: column; justify-content: flex-start; overflow: hidden; }",
"#slide1 { background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%); color: white; text-align: center; justify-content: center; }",
"#slide2 { background: linear-gradient(135deg, #8e44ad 0%, #3498db 100%); color: white; }",
"#slide3 { background: linear-gradient(135deg, #2980b9 0%, #2c3e50 100%); color: white; }",
"#slide4 { background: linear-gradient(135deg, #27ae60 0%, #2980b9 100%); color: white; }",
"#slide5 { background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%); color: white; }",
"#slide6 { background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%); color: white; justify-content: flex-start; }",
"#slide7 { background: linear-gradient(135deg, #16a085 0%, #27ae60 100%); color: white; }",
"#slide8 { background: linear-gradient(135deg, #2c3e50 0%, #8e44ad 100%); color: white; text-align: center; justify-content: center; }",
"h1 { font-size: 2.5em; margin: 0.3em 0; font-weight: 300; line-height: 1.2; }",
"h2 { font-size: 2em; margin: 0.4em 0; font-weight: 300; line-height: 1.2; }",
"h3 { font-size: 1.6em; margin: 0.5em 0; font-weight: 400; line-height: 1.2; }",
"p, li { font-size: 1.2em; line-height: 1.5; margin: 0.5em 0; }",
"ul, ol { margin: 0.5em 0; padding-left: 1.5em; }",
"li { margin: 0.3em 0; }",
".tabulator { max-width: 100%; overflow: auto; margin: 20px 0; border-radius: 8px; min-width: 0; }",
".tabulator .tabulator-table { min-width: fit-content; }",
".tabulator .tabulator-header { background: rgba(255,255,255,0.9); color: #333; }",
".tabulator .tabulator-cell { background: rgba(255,255,255,0.8); color: #333; }",
".vega-embed { margin: 20px auto; }",
".vega-embed .vega-actions { display: none; }",
"@media (max-width: 768px) { .group { padding: 2em 1em; } h1 { font-size: 2em; } h2 { font-size: 1.6em; } h3 { font-size: 1.3em; } p, li { font-size: 1em; line-height: 1.4; } ul, ol { padding-left: 1em; } }",
"@media (max-width: 480px) { .group { padding: 1.5em 0.8em; } h1 { font-size: 1.8em; } h2 { font-size: 1.4em; } h3 { font-size: 1.2em; } p, li { font-size: 0.9em; line-height: 1.3; } ul, ol { padding-left: 0.8em; } li { margin: 0.2em 0; } }"
]
},
"dataLoaders": [
{
"dataSourceName": "chartData",
"type": "inline",
"format": "json",
"content": [
{"category": "Excel Screenshots", "value": 25},
{"category": "Live Charts", "value": 35},
{"category": "Static Images", "value": 20},
{"category": "Interactive Data", "value": 20}
]
}
],
"variables": [
{
"variableId": "currentYear",
"type": "number",
"initialValue": 2025
},
{
"variableId": "editableChartData",
"type": "object",
"isArray": true,
"initialValue": []
}
],
"resources": {
"charts": {
"dataVisualizationChart": {
"$schema": "https://vega.github.io/schema/vega-lite/v6.json",
"width": 250,
"height": 250,
"data": {
"name": "editableChartData"
},
"mark": {
"type": "arc",
"innerRadius": 40,
"stroke": "white",
"strokeWidth": 2
},
"encoding": {
"theta": {
"field": "value",
"type": "quantitative"
},
"color": {
"field": "category",
"type": "nominal",
"scale": {
"range": ["#e74c3c", "#3498db", "#95a5a6", "#27ae60"]
},
"legend": {
"orient": "bottom",
"title": "Data Visualization Types"
}
},
"tooltip": [
{"field": "category", "type": "nominal", "title": "Type"},
{"field": "value", "type": "quantitative", "title": "Usage %"}
]
}
}
}
},
"groups": [
{
"groupId": "slide1",
"elements": [
"# Why Chartifact?",
"### A Document Format for the LLM Age",
"## The industry lacks a shareable document format designed for AI-assisted knowledge work"
]
},
{
"groupId": "slide2",
"elements": [
"## π€ The LLM Revolution Changed Everything",
"### We're living in the age of AI-assisted knowledge work",
"- Large Language Models transform how we create and consume information",
"- Knowledge workers expect **interactive**, **dynamic** content",
"- **But we're still using document formats from the pre-AI era**"
]
},
{
"groupId": "slide3",
"elements": [
"## π The Current Landscape",
"### PDF: Made for **paper**",
"- β
Single self-contained file",
"- β Not human-editable",
"- β Not interactive nor responsive",
"- β Static",
"",
"### HTML:",
"- β
Powerful & interactive",
"- β Security nightmare",
"- β Corporate systems block it",
"",
"### Markdown: **Clear winner** so far",
"- β
Human-readable",
"- β
Version controllable",
"- β Limited interactivity"
]
},
{
"groupId": "slide4",
"elements": [
"## β‘ HTML: From Hero to Villain",
"### HTML was supposed to be the document format of the internet",
"- Started as a simple markup language for documents",
"- Became **too powerful** - now it's a full application shell",
"- Unlimited execution capabilities = security risk",
"- Corporate IT departments **block HTML files** by default",
"- What was meant to democratize publishing became a developer-only tool",
"",
"### π *\"You were the chosen one, Anakin!\"*"
]
},
{
"groupId": "slide5",
"elements": [
"## π Proprietary Solutions Miss the Point",
"### Most LLMs build apps, not documents",
"- Force information workers to become developers π©βπ»",
"- **All they wanted to do was remix a presentation!**",
"- Sometimes platform-locked in vendor ecosystem",
"- Require hosting and maintenance",
"",
"### What we actually need:",
"**Open, portable, interactive documents that travel like PDFs but work like apps**"
]
},
{
"groupId": "slide6",
"elements": [
"## π Stop Pasting Chart Images from Excel!",
"### Make them live charts from live data instead",
"",
"**The Problem:**",
"- Screenshots become stale immediately",
"- No interaction or exploration",
"- Manual updates required",
"- Data context lost",
"",
"**The Solution:**",
"- Live data connections",
"- Interactive exploration",
"- Automatic updates",
"- Rich context preserved",
"",
"### β‘ Experience the difference below:",
"",
"### π Live Data Visualization",
{
"type": "chart",
"chartKey": "dataVisualizationChart"
},
"",
"### π Editable Data Source",
"**Try editing the values in the table below and watch the chart update in real-time!**",
{
"type": "tabulator",
"variableId": "editableChartData",
"dataSourceName": "chartData",
"editable": true,
"tabulatorOptions": {
"layout": "fitColumns",
"maxHeight": "180px",
"columns": [
{
"title": "Category",
"field": "category",
"editor": "input"
},
{
"title": "Value",
"field": "value",
"editor": "number"
}
]
}
}
]
},
{
"groupId": "slide7",
"elements": [
"## π― What the Industry Actually Needs",
"### A new document format that is:",
"- **π± Portable** - travels everywhere like PDF",
"- **π Open Source** - not locked to any vendor",
"- **β‘ Interactive** - reactive and dynamic",
"- **π‘οΈ Safe** - secure by design, no arbitrary code execution",
"- **π₯ Human-friendly** - editable by knowledge workers",
"- **π€ AI-ready** - designed for LLM generation and editing",
"",
"### π« **No apps that rot. No hosting required.**"
]
},
{
"groupId": "slide8",
"elements": [
"# π― Enter Chartifact",
"### The missing document format for the LLM age",
"## β¨ **Declarative, interactive data documents**",
"## π **Travels like a document**",
"## π± **Works like a mini app**",
"## π€ **Designed for AI collaboration**",
"",
"### Ready to reshape how we share knowledge in {{currentYear}}?"
]
}
]
}