Repository navigation
Expand file tree
/
Copy pathgallery.html
More file actions
3395 lines (3160 loc) · 323 KB
/
Copy pathgallery.html
File metadata and controls
3395 lines (3160 loc) · 323 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
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="ja" data-theme="default">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>パーツの一覧(サンプル)</title>
<!-- tools/gallery.mjs が各パーツの demo.html と README.md から作る。手で直さない。数値・会社はすべて架空か公の事実 -->
<style>
/* m-venn */
.vlabel{font-size:27px;color:var(--muted);margin:0 0 6px}
/* m-compare */
.vlabel{font-size:27px;color:var(--muted);margin:0 0 6px}
/* m-cycle */
.vcap{font-size:27px;line-height:1.3;margin:0 0 6px;color:var(--muted)}
/* m-fishbone */
.vcap{font-size:27px;color:var(--muted);text-align:center;margin-bottom:6px}
/* m-timeline */
.vcap{font-size:27px;line-height:1.3;margin:0 0 6px;color:var(--muted)}
/* m-timer */
/* 1 枚目は Studio の部品の一覧の見本の絵(本文の枠で撮る)にもなる。時計の 0 が枠の左端に付いて切れて見えないよう、少し内側に置く */
.slide:first-of-type .body{padding:0 10px}
/* m-tree */
.vcap{font-size:27px;color:var(--muted);text-align:center;margin-bottom:6px}
</style>
</head>
<body>
<script>/* m-seq */
(function(){
// 見本の数値:分散 1 が既知の正規モデルで、平均 θ の事後分布 N(μ_n, σ_n^2) を観測 1 個ずつ更新する(事前 N(0, 1.5^2)。観測 ys は架空の値)
document.addEventListener("DOMContentLoaded", function(){
var ys = [1.8, 0.9, 1.4, 2.1, 1.2, 1.6], m0 = 0, s0 = 1.5, xs = [];
for (var i = 0; i <= 280; i++) xs.push(+(-3 + 7 * i / 280).toFixed(4));
var pdf = function(m, s){ return xs.map(function(x){ return +(Math.exp(-0.5 * Math.pow((x - m) / s, 2)) / (s * Math.sqrt(2 * Math.PI))).toFixed(5); }); };
var steps = [], prec = 1 / (s0 * s0), num = m0 / (s0 * s0);
steps.push({dens: pdf(m0, s0), readout: {"*n*": 0, "*μ*_n": m0, "*σ*_n": s0}});
ys.forEach(function(y, n){
prec += 1; num += y;
var m = num / prec, s = 1 / Math.sqrt(prec);
steps.push({dens: pdf(m, s), readout: {"*n*": n + 1, "*μ*_n": m, "*σ*_n": s}, mark: y});
});
document.getElementById("seq-data").textContent = JSON.stringify({xs: xs, steps: steps, digits: {"*n*": 0}, markLabel: "*y*_n"});
});
})();
</script>
<script>/* m-curves */
(function(){
// 見本の数値:対数正規の予測分布 LN(0, 0.6^2) の平均・中央値・90% 分位点を計算して、縦線の点列にする
document.addEventListener("DOMContentLoaded", function(){
var s = 0.6, pdf = function(x){ return Math.exp(-Math.pow(Math.log(x), 2) / (2 * s * s)) / (x * s * Math.sqrt(2 * Math.PI)); };
var mean = Math.exp(s * s / 2), med = 1, q90 = Math.exp(s * 1.2815516);
var v = function(x){ return [[x, 0], [x, pdf(x)]]; };
document.getElementById("pred-data").textContent = JSON.stringify([
{label: "予測分布 *p*(*y*|*w*)", f: "exp(-pow(log(x),2)/(2*0.36))/(x*0.6*sqrt(2*PI))", xr: [0.02, 4], tone: "fg", labelAt: 3, anchor: "right", dy: -30},
{label: "中央値", pts: v(med), tone: "term", anchor: "left", ly: 0.04},
{label: "平均", pts: v(mean), tone: "emph", anchor: "right", ly: 0.04},
{label: "90% 分位点", pts: v(q90), tone: "accent2", dash: true, anchor: "right", dx: -4}
]);
});
})();
</script>
<div id="stage">
<section class="slide">
<h2>パーツの一覧(55 個、231 枚)</h2>
<div class="body">
<p>パーツごとに、説明の 1 枚とサンプルのスライドが続く。→ でステップを進める。</p>
<p>m-callout(変わった) m-codetree(変わった) m-collect(変わった) m-folds(変わった) m-kakijun(変わった) m-map-japan(変わった) m-map-world(変わった) m-market(変わった) m-numberline(変わった) m-pie(変わった) m-scatter(変わった) m-seq(変わった) m-tape(変わった) m-vector(変わった) m-venn(変わった) m-balance m-bars m-boxplot m-cards m-checklist m-ci m-classify2d m-code m-compare m-contour m-ctable m-curves m-cycle m-diverge m-fishbone m-flow m-gendai m-heatmap m-hissan m-hist m-kanbun m-keyboard m-kobun m-kpi m-mapping m-menu m-network m-nnet m-orbit m-particles m-predict m-quad m-sampling m-score m-sweep m-syntax m-timeline m-timer m-trace m-tree</p>
</div>
</section>
<section class="slide">
<h2>m-callout(変わった、v2.16.0)</h2>
<div class="body">
<p>画面の画像に番号の丸を置き、引き出し線で横の説明につなぐ。ステップごとに 1 つずつ(研修・手引き・操作の説明)</p>
<ul>
<li>伝えたいこと:手順・工程</li>
<li>見せ方:1 種類</li>
<li>内容の分野:標準パーツ サンプルのスライド:2 枚</li>
</ul>
</div>
</section>
<section id="g-callout-1" class="slide">
<h2>電子申請で住所変更を届け出る(架空の画面)</h2>
<div class="body">
<m-callout style="height:440px">
<img src="data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%221280%22 height=%22800%22 viewBox=%220 0 1280 800%22 font-family=%22sans-serif%22%3E%3Crect width=%221280%22 height=%22800%22 fill=%22%23f4f6f9%22/%3E%3Crect width=%221280%22 height=%2272%22 fill=%22%232b4c7e%22/%3E%3Ctext x=%2232%22 y=%2247%22 font-size=%2230%22 fill=%22%23fff%22%3EA %E5%B8%82 %E9%9B%BB%E5%AD%90%E7%94%B3%E8%AB%8B%EF%BC%88%E6%9E%B6%E7%A9%BA%EF%BC%89%3C/text%3E%3Crect x=%221110%22 y=%2218%22 width=%22140%22 height=%2236%22 rx=%226%22 fill=%22%23fff%22 opacity=%22.2%22/%3E%3Ctext x=%221180%22 y=%2244%22 font-size=%2222%22 fill=%22%23fff%22 text-anchor=%22middle%22%3E%E3%83%AD%E3%82%B0%E3%82%A2%E3%82%A6%E3%83%88%3C/text%3E%3Crect x=%220%22 y=%2272%22 width=%22260%22 height=%22728%22 fill=%22%23e3e8ef%22/%3E%3Cg font-size=%2224%22 fill=%22%23333%22%3E%3Ctext x=%2232%22 y=%22130%22%3E%E3%81%8A%E7%9F%A5%E3%82%89%E3%81%9B%3C/text%3E%3Crect x=%2216%22 y=%22160%22 width=%22228%22 height=%2248%22 rx=%226%22 fill=%22%23c9d6e8%22/%3E%3Ctext x=%2232%22 y=%22193%22%3E%E7%94%B3%E8%AB%8B%E3%81%99%E3%82%8B%3C/text%3E%3Ctext x=%2232%22 y=%22256%22%3E%E7%94%B3%E8%AB%8B%E3%81%AE%E7%8A%B6%E6%B3%81%3C/text%3E%3Ctext x=%2232%22 y=%22316%22%3E%E3%82%88%E3%81%8F%E3%81%82%E3%82%8B%E8%B3%AA%E5%95%8F%3C/text%3E%3C/g%3E%3Ctext x=%22310%22 y=%22140%22 font-size=%2234%22 fill=%22%23222%22%3E%E4%BD%8F%E6%89%80%E5%A4%89%E6%9B%B4%E3%81%AE%E5%B1%8A%E3%81%91%E5%87%BA%3C/text%3E%3Cg font-size=%2224%22 fill=%22%23444%22%3E%3Ctext x=%22310%22 y=%22210%22%3E%E5%B1%8A%E3%81%91%E5%87%BA%E3%81%AE%E7%A8%AE%E9%A1%9E%3C/text%3E%3Crect x=%22310%22 y=%22225%22 width=%22560%22 height=%2252%22 rx=%226%22 fill=%22%23fff%22 stroke=%22%239aa5b5%22/%3E%3Ctext x=%22326%22 y=%22260%22 fill=%22%23222%22%3E%E8%BB%A2%E5%85%A5%EF%BC%88%E5%B8%82%E3%81%AE%E5%A4%96%E3%81%8B%E3%82%89%EF%BC%89%3C/text%3E%3Cpath d=%22M840 245l12 12 12-12%22 fill=%22none%22 stroke=%22%23555%22 stroke-width=%223%22/%3E%3Ctext x=%22310%22 y=%22330%22%3E%E6%B0%8F%E5%90%8D%3C/text%3E%3Crect x=%22310%22 y=%22345%22 width=%22560%22 height=%2252%22 rx=%226%22 fill=%22%23fff%22 stroke=%22%239aa5b5%22/%3E%3Ctext x=%22326%22 y=%22380%22 fill=%22%23999%22%3E%EF%BC%88%E5%85%A5%E5%8A%9B%E4%BE%8B%EF%BC%89A %E3%81%95%E3%82%93%3C/text%3E%3Ctext x=%22310%22 y=%22450%22%3E%E6%96%B0%E3%81%97%E3%81%84%E4%BD%8F%E6%89%80%3C/text%3E%3Crect x=%22310%22 y=%22465%22 width=%22760%22 height=%2252%22 rx=%226%22 fill=%22%23fff%22 stroke=%22%239aa5b5%22/%3E%3Ctext x=%22326%22 y=%22500%22 fill=%22%23999%22%3E%EF%BC%88%E5%85%A5%E5%8A%9B%E4%BE%8B%EF%BC%89A %E5%B8%82 1 %E4%B8%81%E7%9B%AE 1-1%3C/text%3E%3Ctext x=%22310%22 y=%22570%22%3E%E6%B7%BB%E4%BB%98%E3%81%99%E3%82%8B%E6%9B%B8%E9%A1%9E%3C/text%3E%3Crect x=%22310%22 y=%22585%22 width=%22220%22 height=%2252%22 rx=%226%22 fill=%22%23fff%22 stroke=%22%232b4c7e%22 stroke-width=%222%22/%3E%3Ctext x=%22420%22 y=%22620%22 text-anchor=%22middle%22 fill=%22%232b4c7e%22%3E%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E9%81%B8%E3%81%B6%3C/text%3E%3C/g%3E%3Crect x=%221010%22 y=%22700%22 width=%22220%22 height=%2264%22 rx=%228%22 fill=%22%232b4c7e%22/%3E%3Ctext x=%221120%22 y=%22742%22 font-size=%2228%22 fill=%22%23fff%22 text-anchor=%22middle%22%3E%E9%80%81%E3%82%8B%3C/text%3E%3C/svg%3E" alt="A 市の電子申請の、住所変更の届け出の画面(架空)" width="1280" height="800">
<script type="application/json">{
"callouts": [
{"x": 0.205, "y": 0.23, "text": "左の「申請する」を選ぶ", "box": [0.013, 0.2, 0.178, 0.06]},
{"x": 0.66, "y": 0.315, "text": "届け出の種類を選ぶ"},
{"x": 0.83, "y": 0.61, "text": "新しい住所を\n建物の名前まで書く"},
{"x": 0.435, "y": 0.765, "text": "転出証明書の写真を\n添付する", "box": [0.242, 0.731, 0.172, 0.065]},
{"x": 0.962, "y": 0.915, "text": "「送る」を押す"}
]
}</script>
</m-callout>
</div>
<div class="concl"><span>→ 5 つの手順で届け出が終わる</span></div>
</section>
<section id="g-callout-2" class="slide noconcl">
<h2>説明を両側に置く(side="both")</h2>
<div class="body">
<m-callout side="both" label-width="0.24" per-step="0" style="height:470px">
<img src="data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%221280%22 height=%22800%22 viewBox=%220 0 1280 800%22 font-family=%22sans-serif%22%3E%3Crect width=%221280%22 height=%22800%22 fill=%22%23f4f6f9%22/%3E%3Crect width=%221280%22 height=%2272%22 fill=%22%232b4c7e%22/%3E%3Ctext x=%2232%22 y=%2247%22 font-size=%2230%22 fill=%22%23fff%22%3EA %E5%B8%82 %E9%9B%BB%E5%AD%90%E7%94%B3%E8%AB%8B%EF%BC%88%E6%9E%B6%E7%A9%BA%EF%BC%89%3C/text%3E%3Crect x=%221110%22 y=%2218%22 width=%22140%22 height=%2236%22 rx=%226%22 fill=%22%23fff%22 opacity=%22.2%22/%3E%3Ctext x=%221180%22 y=%2244%22 font-size=%2222%22 fill=%22%23fff%22 text-anchor=%22middle%22%3E%E3%83%AD%E3%82%B0%E3%82%A2%E3%82%A6%E3%83%88%3C/text%3E%3Crect x=%220%22 y=%2272%22 width=%22260%22 height=%22728%22 fill=%22%23e3e8ef%22/%3E%3Cg font-size=%2224%22 fill=%22%23333%22%3E%3Ctext x=%2232%22 y=%22130%22%3E%E3%81%8A%E7%9F%A5%E3%82%89%E3%81%9B%3C/text%3E%3Crect x=%2216%22 y=%22160%22 width=%22228%22 height=%2248%22 rx=%226%22 fill=%22%23c9d6e8%22/%3E%3Ctext x=%2232%22 y=%22193%22%3E%E7%94%B3%E8%AB%8B%E3%81%99%E3%82%8B%3C/text%3E%3Ctext x=%2232%22 y=%22256%22%3E%E7%94%B3%E8%AB%8B%E3%81%AE%E7%8A%B6%E6%B3%81%3C/text%3E%3Ctext x=%2232%22 y=%22316%22%3E%E3%82%88%E3%81%8F%E3%81%82%E3%82%8B%E8%B3%AA%E5%95%8F%3C/text%3E%3C/g%3E%3Ctext x=%22310%22 y=%22140%22 font-size=%2234%22 fill=%22%23222%22%3E%E4%BD%8F%E6%89%80%E5%A4%89%E6%9B%B4%E3%81%AE%E5%B1%8A%E3%81%91%E5%87%BA%3C/text%3E%3Cg font-size=%2224%22 fill=%22%23444%22%3E%3Ctext x=%22310%22 y=%22210%22%3E%E5%B1%8A%E3%81%91%E5%87%BA%E3%81%AE%E7%A8%AE%E9%A1%9E%3C/text%3E%3Crect x=%22310%22 y=%22225%22 width=%22560%22 height=%2252%22 rx=%226%22 fill=%22%23fff%22 stroke=%22%239aa5b5%22/%3E%3Ctext x=%22326%22 y=%22260%22 fill=%22%23222%22%3E%E8%BB%A2%E5%85%A5%EF%BC%88%E5%B8%82%E3%81%AE%E5%A4%96%E3%81%8B%E3%82%89%EF%BC%89%3C/text%3E%3Cpath d=%22M840 245l12 12 12-12%22 fill=%22none%22 stroke=%22%23555%22 stroke-width=%223%22/%3E%3Ctext x=%22310%22 y=%22330%22%3E%E6%B0%8F%E5%90%8D%3C/text%3E%3Crect x=%22310%22 y=%22345%22 width=%22560%22 height=%2252%22 rx=%226%22 fill=%22%23fff%22 stroke=%22%239aa5b5%22/%3E%3Ctext x=%22326%22 y=%22380%22 fill=%22%23999%22%3E%EF%BC%88%E5%85%A5%E5%8A%9B%E4%BE%8B%EF%BC%89A %E3%81%95%E3%82%93%3C/text%3E%3Ctext x=%22310%22 y=%22450%22%3E%E6%96%B0%E3%81%97%E3%81%84%E4%BD%8F%E6%89%80%3C/text%3E%3Crect x=%22310%22 y=%22465%22 width=%22760%22 height=%2252%22 rx=%226%22 fill=%22%23fff%22 stroke=%22%239aa5b5%22/%3E%3Ctext x=%22326%22 y=%22500%22 fill=%22%23999%22%3E%EF%BC%88%E5%85%A5%E5%8A%9B%E4%BE%8B%EF%BC%89A %E5%B8%82 1 %E4%B8%81%E7%9B%AE 1-1%3C/text%3E%3Ctext x=%22310%22 y=%22570%22%3E%E6%B7%BB%E4%BB%98%E3%81%99%E3%82%8B%E6%9B%B8%E9%A1%9E%3C/text%3E%3Crect x=%22310%22 y=%22585%22 width=%22220%22 height=%2252%22 rx=%226%22 fill=%22%23fff%22 stroke=%22%232b4c7e%22 stroke-width=%222%22/%3E%3Ctext x=%22420%22 y=%22620%22 text-anchor=%22middle%22 fill=%22%232b4c7e%22%3E%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E9%81%B8%E3%81%B6%3C/text%3E%3C/g%3E%3Crect x=%221010%22 y=%22700%22 width=%22220%22 height=%2264%22 rx=%228%22 fill=%22%232b4c7e%22/%3E%3Ctext x=%221120%22 y=%22742%22 font-size=%2228%22 fill=%22%23fff%22 text-anchor=%22middle%22%3E%E9%80%81%E3%82%8B%3C/text%3E%3C/svg%3E" alt="A 市の電子申請の画面(架空)" width="1280" height="800">
<script type="application/json">{
"callouts": [
{"x": 0.10, "y": 0.23, "text": "メニュー"},
{"x": 0.30, "y": 0.42, "text": "入力の欄"},
{"x": 0.92, "y": 0.05, "text": "終わったら\nログアウト"},
{"x": 0.875, "y": 0.915, "text": "送る"}
]
}</script>
</m-callout>
</div>
</section>
<section class="slide">
<h2>m-codetree(変わった、v2.16.0)</h2>
<div class="body">
<p>ハフマン木で 2 値の系列を 1 語ずつ復号する(MH 符号)。ランは画素の升目に伸びる</p>
<ul>
<li>伝えたいこと:階層・分類・手順・工程</li>
<li>見せ方:1 種類</li>
<li>内容の分野:情報 サンプルのスライド:3 枚</li>
</ul>
</div>
</section>
<section id="g-codetree-1" class="slide noconcl">
<h2>MH 符号をハフマン木で復号する</h2>
<div class="body">
<m-codetree aria-label="MH 符号のハフマン木で 11011011111 を復号する図" style="height:530px">
<script type="application/json">{
"bits": "11011011111",
"table": [
{"run": 0, "white": "00110101", "black": "0000110111"},
{"run": 1, "white": "000111", "black": "010"},
{"run": 2, "white": "0111", "black": "11"},
{"run": 3, "white": "1000", "black": "10"},
{"run": 4, "white": "1011", "black": "011"},
{"run": 5, "white": "1100", "black": "0011"},
{"run": 6, "white": "1110", "black": "0010"},
{"run": 7, "white": "1111", "black": "00011"},
{"run": 8, "white": "10011", "black": "000101"},
{"run": 9, "white": "10100", "black": "000100"},
{"run": 10, "white": "00111", "black": "0000100"},
{"run": 11, "white": "01000", "black": "0000101"},
{"run": 12, "white": "001000", "black": "0000111"},
{"run": 13, "white": "000011", "black": "00000100"},
{"run": 14, "white": "110100", "black": "00000111"},
{"run": 15, "white": "110101", "black": "000011000"},
{"run": 16, "white": "101010", "black": "0000010111"},
{"run": 17, "white": "101011", "black": "0000011000"},
{"run": 18, "white": "0100111", "black": "0000001000"},
{"run": 19, "white": "0001100", "black": "00001100111"},
{"run": 20, "white": "0001000", "black": "00001101000"},
{"run": 21, "white": "0010111", "black": "00001101100"},
{"run": 22, "white": "0000011", "black": "00000110111"},
{"run": 23, "white": "0000100", "black": "00000101000"},
{"run": 24, "white": "0101000", "black": "00000010111"},
{"run": 25, "white": "0101011", "black": "00000011000"},
{"run": 26, "white": "0010011", "black": "000011001010"},
{"run": 27, "white": "0100100", "black": "000011001011"},
{"run": 28, "white": "0011000", "black": "000011001100"},
{"run": 29, "white": "00000010", "black": "000011001101"},
{"run": 30, "white": "00000011", "black": "000001101000"},
{"run": 31, "white": "00011010", "black": "000001101001"},
{"run": 32, "white": "00011011", "black": "000001101010"},
{"run": 33, "white": "00010010", "black": "000001101011"},
{"run": 34, "white": "00010011", "black": "000011010010"},
{"run": 35, "white": "00010100", "black": "000011010011"},
{"run": 36, "white": "00010101", "black": "000011010100"},
{"run": 37, "white": "00010110", "black": "000011010101"},
{"run": 38, "white": "00010111", "black": "000011010110"},
{"run": 39, "white": "00101000", "black": "000011010111"},
{"run": 40, "white": "00101001", "black": "000001101100"},
{"run": 41, "white": "00101010", "black": "000001101101"},
{"run": 42, "white": "00101011", "black": "000011011010"},
{"run": 43, "white": "00101100", "black": "000011011011"},
{"run": 44, "white": "00101101", "black": "000001010100"},
{"run": 45, "white": "00000100", "black": "000001010101"},
{"run": 46, "white": "00000101", "black": "000001010110"},
{"run": 47, "white": "00001010", "black": "000001010111"},
{"run": 48, "white": "00001011", "black": "000001100100"},
{"run": 49, "white": "01010010", "black": "000001100101"},
{"run": 50, "white": "01010011", "black": "000001010010"},
{"run": 51, "white": "01010100", "black": "000001010011"},
{"run": 52, "white": "01010101", "black": "000000100100"},
{"run": 53, "white": "00100100", "black": "000000110111"},
{"run": 54, "white": "00100101", "black": "000000111000"},
{"run": 55, "white": "01011000", "black": "000000100111"},
{"run": 56, "white": "01011001", "black": "000000101000"},
{"run": 57, "white": "01011010", "black": "000001011000"},
{"run": 58, "white": "01011011", "black": "000001011001"},
{"run": 59, "white": "01001010", "black": "000000101011"},
{"run": 60, "white": "01001011", "black": "000000101100"},
{"run": 61, "white": "00110010", "black": "000001011010"},
{"run": 62, "white": "00110011", "black": "000001100110"},
{"run": 63, "white": "00110100", "black": "000001100111"},
{"run": 64, "white": "11011", "black": "0000001111"},
{"run": 128, "white": "10010", "black": "000011001000"},
{"run": 192, "white": "010111", "black": "000011001001"},
{"run": 256, "white": "0110111", "black": "000001011011"},
{"run": 320, "white": "00110110", "black": "000000110011"},
{"run": 384, "white": "00110111", "black": "000000110100"},
{"run": 448, "white": "01100100", "black": "000000110101"},
{"run": 512, "white": "01100101", "black": "0000001101100"},
{"run": 576, "white": "01101000", "black": "0000001101101"},
{"run": 640, "white": "01100111", "black": "0000001001010"},
{"run": 704, "white": "011001100", "black": "0000001001011"},
{"run": 768, "white": "011001101", "black": "0000001001100"},
{"run": 832, "white": "011010010", "black": "0000001001101"},
{"run": 896, "white": "011010011", "black": "0000001110010"},
{"run": 960, "white": "011010100", "black": "0000001110011"},
{"run": 1024, "white": "011010101", "black": "0000001110100"},
{"run": 1088, "white": "011010110", "black": "0000001110101"},
{"run": 1152, "white": "011010111", "black": "0000001110110"},
{"run": 1216, "white": "011011000", "black": "0000001110111"},
{"run": 1280, "white": "011011001", "black": "0000001010010"},
{"run": 1344, "white": "011011010", "black": "0000001010011"},
{"run": 1408, "white": "011011011", "black": "0000001010100"},
{"run": 1472, "white": "010011000", "black": "0000001010101"},
{"run": 1536, "white": "010011001", "black": "0000001011010"},
{"run": 1600, "white": "010011010", "black": "0000001011011"},
{"run": 1664, "white": "011000", "black": "0000001100100"},
{"run": 1728, "white": "010011011", "black": "0000001100101"},
{"run": "EOL", "white": "000000000001", "black": "000000000001"}
]
}</script>
</m-codetree>
</div>
</section>
<section id="g-codetree-2" class="slide noconcl">
<h2>長い黒の符号(12 ビット)を読む</h2>
<div class="body">
<m-codetree aria-label="MH 符号のハフマン木で、白 3・黒 30・白 2 を復号する図(黒 30 は 12 ビット)" style="height:530px">
<script type="application/json">{
"bits": "1000 000001101000 0111",
"table": [
{"run": 0, "white": "00110101", "black": "0000110111"},
{"run": 1, "white": "000111", "black": "010"},
{"run": 2, "white": "0111", "black": "11"},
{"run": 3, "white": "1000", "black": "10"},
{"run": 4, "white": "1011", "black": "011"},
{"run": 5, "white": "1100", "black": "0011"},
{"run": 6, "white": "1110", "black": "0010"},
{"run": 7, "white": "1111", "black": "00011"},
{"run": 8, "white": "10011", "black": "000101"},
{"run": 9, "white": "10100", "black": "000100"},
{"run": 10, "white": "00111", "black": "0000100"},
{"run": 11, "white": "01000", "black": "0000101"},
{"run": 12, "white": "001000", "black": "0000111"},
{"run": 13, "white": "000011", "black": "00000100"},
{"run": 14, "white": "110100", "black": "00000111"},
{"run": 15, "white": "110101", "black": "000011000"},
{"run": 16, "white": "101010", "black": "0000010111"},
{"run": 17, "white": "101011", "black": "0000011000"},
{"run": 18, "white": "0100111", "black": "0000001000"},
{"run": 19, "white": "0001100", "black": "00001100111"},
{"run": 20, "white": "0001000", "black": "00001101000"},
{"run": 21, "white": "0010111", "black": "00001101100"},
{"run": 22, "white": "0000011", "black": "00000110111"},
{"run": 23, "white": "0000100", "black": "00000101000"},
{"run": 24, "white": "0101000", "black": "00000010111"},
{"run": 25, "white": "0101011", "black": "00000011000"},
{"run": 26, "white": "0010011", "black": "000011001010"},
{"run": 27, "white": "0100100", "black": "000011001011"},
{"run": 28, "white": "0011000", "black": "000011001100"},
{"run": 29, "white": "00000010", "black": "000011001101"},
{"run": 30, "white": "00000011", "black": "000001101000"},
{"run": 31, "white": "00011010", "black": "000001101001"},
{"run": 32, "white": "00011011", "black": "000001101010"},
{"run": 33, "white": "00010010", "black": "000001101011"},
{"run": 34, "white": "00010011", "black": "000011010010"},
{"run": 35, "white": "00010100", "black": "000011010011"},
{"run": 36, "white": "00010101", "black": "000011010100"},
{"run": 37, "white": "00010110", "black": "000011010101"},
{"run": 38, "white": "00010111", "black": "000011010110"},
{"run": 39, "white": "00101000", "black": "000011010111"},
{"run": 40, "white": "00101001", "black": "000001101100"},
{"run": 41, "white": "00101010", "black": "000001101101"},
{"run": 42, "white": "00101011", "black": "000011011010"},
{"run": 43, "white": "00101100", "black": "000011011011"},
{"run": 44, "white": "00101101", "black": "000001010100"},
{"run": 45, "white": "00000100", "black": "000001010101"},
{"run": 46, "white": "00000101", "black": "000001010110"},
{"run": 47, "white": "00001010", "black": "000001010111"},
{"run": 48, "white": "00001011", "black": "000001100100"},
{"run": 49, "white": "01010010", "black": "000001100101"},
{"run": 50, "white": "01010011", "black": "000001010010"},
{"run": 51, "white": "01010100", "black": "000001010011"},
{"run": 52, "white": "01010101", "black": "000000100100"},
{"run": 53, "white": "00100100", "black": "000000110111"},
{"run": 54, "white": "00100101", "black": "000000111000"},
{"run": 55, "white": "01011000", "black": "000000100111"},
{"run": 56, "white": "01011001", "black": "000000101000"},
{"run": 57, "white": "01011010", "black": "000001011000"},
{"run": 58, "white": "01011011", "black": "000001011001"},
{"run": 59, "white": "01001010", "black": "000000101011"},
{"run": 60, "white": "01001011", "black": "000000101100"},
{"run": 61, "white": "00110010", "black": "000001011010"},
{"run": 62, "white": "00110011", "black": "000001100110"},
{"run": 63, "white": "00110100", "black": "000001100111"},
{"run": 64, "white": "11011", "black": "0000001111"},
{"run": 128, "white": "10010", "black": "000011001000"},
{"run": 192, "white": "010111", "black": "000011001001"},
{"run": 256, "white": "0110111", "black": "000001011011"},
{"run": 320, "white": "00110110", "black": "000000110011"},
{"run": 384, "white": "00110111", "black": "000000110100"},
{"run": 448, "white": "01100100", "black": "000000110101"},
{"run": 512, "white": "01100101", "black": "0000001101100"},
{"run": 576, "white": "01101000", "black": "0000001101101"},
{"run": 640, "white": "01100111", "black": "0000001001010"},
{"run": 704, "white": "011001100", "black": "0000001001011"},
{"run": 768, "white": "011001101", "black": "0000001001100"},
{"run": 832, "white": "011010010", "black": "0000001001101"},
{"run": 896, "white": "011010011", "black": "0000001110010"},
{"run": 960, "white": "011010100", "black": "0000001110011"},
{"run": 1024, "white": "011010101", "black": "0000001110100"},
{"run": 1088, "white": "011010110", "black": "0000001110101"},
{"run": 1152, "white": "011010111", "black": "0000001110110"},
{"run": 1216, "white": "011011000", "black": "0000001110111"},
{"run": 1280, "white": "011011001", "black": "0000001010010"},
{"run": 1344, "white": "011011010", "black": "0000001010011"},
{"run": 1408, "white": "011011011", "black": "0000001010100"},
{"run": 1472, "white": "010011000", "black": "0000001010101"},
{"run": 1536, "white": "010011001", "black": "0000001011010"},
{"run": 1600, "white": "010011010", "black": "0000001011011"},
{"run": 1664, "white": "011000", "black": "0000001100100"},
{"run": 1728, "white": "010011011", "black": "0000001100101"},
{"run": "EOL", "white": "000000000001", "black": "000000000001"}
]
}</script>
</m-codetree>
</div>
</section>
<section id="g-codetree-3" class="slide noconcl">
<h2>表にない符号に出会う(練習用の小さな表)</h2>
<div class="body">
<m-codetree aria-label="小さな符号表で、表にない符号に出会う図" style="height:530px">
<script type="application/json">{
"bits": "01 1 0001 001 000",
"table": {"white": {"1": 1, "01": 2, "001": 3, "0001": 64}, "black": {"1": 1, "01": 2, "001": 3}}
}</script>
</m-codetree>
</div>
</section>
<section class="slide">
<h2>m-collect(変わった、v2.16.0)</h2>
<div class="body">
<p>並んだカード(回答など)が動いて縮み、少数の箱(要約)にまとまる</p>
<ul>
<li>伝えたいこと:まとめる・分ける</li>
<li>見せ方:1 種類</li>
<li>内容の分野:数理・統計 サンプルのスライド:1 枚</li>
</ul>
</div>
</section>
<section id="g-collect-1" class="slide">
<h2>観測の要約</h2>
<div class="body">
<p data-step="1">8 回の観測(架空)は,事後分布の 2 つのモーメントにまとまる</p>
<!-- 見本の数値:8 回のコイン投げ(表なら 1:1 1 0 1 1 0 1 1)から、一様な事前分布 Beta(1,1) のもとでの事後平均 7/10 と事後分散 21/1100。
式(tex)は組み立てのときに描く(spec §6.2)ので、データは原稿に書く(再生のときにスクリプトで作ったデータの式は描かれない) -->
<m-collect data-from="2" box-w="300" box-h="120" style="height:340px">
<script type="application/json">{"cols": 4,
"chips": [{"label": "試行 1:表", "to": [0, 1]}, {"label": "試行 2:表", "to": [0, 1]}, {"label": "試行 3:裏", "to": [0, 1]}, {"label": "試行 4:表", "to": [0, 1]},
{"label": "試行 5:表", "to": [0, 1]}, {"label": "試行 6:裏", "to": [0, 1]}, {"label": "試行 7:表", "to": [0, 1]}, {"label": "試行 8:表", "to": [0, 1]}],
"targets": [{"label": "事後平均", "tex": "\\mathrm{E}[\\theta\\mid D]", "value": "0.700"},
{"label": "事後分散", "tex": "\\mathrm{Var}[\\theta\\mid D]", "value": "0.0191"}]}</script>
</m-collect>
</div>
<div class="concl"><span>→ 次の予測には,この 2 つの値だけ持てばよい</span></div>
</section>
<section class="slide">
<h2>m-folds(変わった、v2.16.0)</h2>
<div class="body">
<p>データを k 個に分けた 1 つ(フォールド)を検証に使い、検証に使うフォールドを順に替えて、各分割の誤差と平均を示す</p>
<ul>
<li>伝えたいこと:仕組みをモデルで見る・比べる(量・特徴)</li>
<li>見せ方:1 種類</li>
<li>内容の分野:数理・統計 サンプルのスライド:4 枚</li>
</ul>
</div>
</section>
<section id="g-folds-1" class="slide">
<h2>検証に使うフォールドを順に替える(架空データ)</h2>
<div class="body"><m-folds style="height:440px"><script type="application/json">{"k":5,"errors":[0.21,0.18,0.25,0.19,0.22],"labels":["1","2","3","4","5"]}</script></m-folds></div>
<div class="concl"><span>架空の誤差。すべてのフォールドを 1 回ずつ検証に使う</span></div>
</section>
<section id="g-folds-2" class="slide">
<h2>クラスの比率を保つ KFold(StratifiedKFold)</h2>
<div class="body"><m-folds style="height:400px"><script type="application/json">{"samples":[{"class":0},{"class":0},{"class":0},{"class":1},{"class":0},{"class":0},{"class":0},{"class":1},{"class":0},{"class":0},{"class":0},{"class":1},{"class":0},{"class":0},{"class":0},{"class":1},{"class":0},{"class":0},{"class":0},{"class":1}],"classes":[{"id":0,"label":"A"},{"id":1,"label":"B"}],"splitter":"StratifiedKFold","splits":[{"test":[0,7,8,14,16],"train":[1,2,3,4,5,6,9,10,11,12,13,15,17,18,19]},{"test":[1,6,12,17,19],"train":[0,2,3,4,5,7,8,9,10,11,13,14,15,16,18]},{"test":[2,4,10,13,15],"train":[0,1,3,5,6,7,8,9,11,12,14,16,17,18,19]},{"test":[3,5,9,11,18],"train":[0,1,2,4,6,7,8,10,12,13,14,15,16,17,19]}]}</script></m-folds></div>
<div class="concl"><span>どのフォールドにも B が 1 個ずつ入る(架空データ)</span></div>
</section>
<section id="g-folds-3" class="slide">
<h2>同じ場所の標本を分けない GroupKFold</h2>
<div class="body"><m-folds style="height:400px"><script type="application/json">{"samples":[{"group":"P"},{"group":"P"},{"group":"P"},{"group":"P"},{"group":"Q"},{"group":"Q"},{"group":"Q"},{"group":"Q"},{"group":"R"},{"group":"R"},{"group":"R"},{"group":"R"},{"group":"S"},{"group":"S"},{"group":"S"},{"group":"S"},{"group":"T"},{"group":"T"},{"group":"T"},{"group":"T"}],"splitter":"GroupKFold","splits":[{"test":[16,17,18,19],"train":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]},{"test":[12,13,14,15],"train":[0,1,2,3,4,5,6,7,8,9,10,11,16,17,18,19]},{"test":[8,9,10,11],"train":[0,1,2,3,4,5,6,7,12,13,14,15,16,17,18,19]},{"test":[4,5,6,7],"train":[0,1,2,3,8,9,10,11,12,13,14,15,16,17,18,19]},{"test":[0,1,2,3],"train":[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]}]}</script></m-folds></div>
<div class="concl"><span>1 つの場所の 4 個が、いっしょに検証に回る(架空データ)</span></div>
</section>
<section id="g-folds-4" class="slide">
<h2>時系列は、過去で訓練して後の期間で検証する</h2>
<div class="body"><m-folds style="height:400px"><script type="application/json">{"samples":[{"t":1},{"t":2},{"t":3},{"t":4},{"t":5},{"t":6},{"t":7},{"t":8},{"t":9},{"t":10},{"t":11},{"t":12},{"t":13},{"t":14},{"t":15},{"t":16},{"t":17},{"t":18},{"t":19},{"t":20}],"splitter":"TimeSeriesSplit","splits":[{"test":[4,5,6,7],"train":[0,1,2,3]},{"test":[8,9,10,11],"train":[0,1,2,3,4,5,6,7]},{"test":[12,13,14,15],"train":[0,1,2,3,4,5,6,7,8,9,10,11]},{"test":[16,17,18,19],"train":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]}]}</script></m-folds></div>
<div class="concl"><span>後の分割ほど訓練の期間が長い(架空データ)</span></div>
</section>
<section class="slide">
<h2>m-kakijun(変わった、v2.16.0)</h2>
<div class="body">
<p>かな(ひらがな・カタカナ)の書き順。字を 1 画ずつ、書く順と向きのとおりに書いて見せる</p>
<ul>
<li>伝えたいこと:手順・工程</li>
<li>見せ方:draw・pen</li>
<li>内容の分野:国語 サンプルのスライド:3 枚</li>
</ul>
</div>
</section>
<section id="g-kakijun-1" class="slide">
<h2>ひらがなの書き順:あさ</h2>
<div class="body">
<m-kakijun text="あさ" ends="on" style="height:400px"></m-kakijun>
</div>
<div class="concl"><span>→ 「あ」の 3 画目は、結びを作ってから右へはらう</span></div>
</section>
<section id="g-kakijun-2" class="slide">
<h2>濁点のあるカタカナ:ガム</h2>
<div class="body">
<m-kakijun text="ガム" style="height:400px"></m-kakijun>
</div>
<div class="concl"><span>→ 濁点は、字を書き終えてから左上から右下へ 2 つ</span></div>
</section>
<section id="g-kakijun-3" class="slide">
<h2>縦書きの小さい字:きょう</h2>
<div class="body">
<m-kakijun text="きょう" writing="tate" size="140" nums="off" style="height:440px"></m-kakijun>
</div>
<div class="concl"><span>→ 縦書きの「ょ」は、ます目の右上に小さく書く</span></div>
</section>
<section class="slide">
<h2>m-map-japan(変わった、v2.16.0)</h2>
<div class="body">
<p>日本の 47 都道府県の地図。地域の強調、統計の塗り分け、点、矢印、経度・緯度の重ね描きをステップごとに出す</p>
<ul>
<li>伝えたいこと:場所・地図</li>
<li>見せ方:fade・sweep・draw</li>
<li>内容の分野:地図(社会) サンプルのスライド:5 枚</li>
</ul>
</div>
</section>
<section id="g-map-japan-1" class="slide">
<h2>日本の八地方区分</h2>
<div class="body">
<m-map-japan aria-label="八地方区分の地図" style="height:440px">
<script type="application/json">{
"regions": [
{"group": "hokkaido", "tone": "series-1", "step": 1},
{"group": "tohoku", "tone": "series-2", "step": 2},
{"group": "kanto", "tone": "series-3", "step": 3},
{"group": "chubu", "tone": "series-1", "step": 4},
{"group": "kinki", "tone": "series-4", "step": 5},
{"group": "chugoku", "tone": "series-2", "step": 6},
{"group": "shikoku", "tone": "series-3", "step": 7},
{"group": "kyushu", "tone": "series-1", "step": 8}
]
}</script>
</m-map-japan>
</div>
<div class="concl"><span>→ 北から順に 8 つの地方に分ける</span></div>
</section>
<section id="g-map-japan-2" class="slide">
<h2>都道府県の人口(2020 年、国勢調査速報)</h2>
<div class="body">
<m-map-japan aria-label="都道府県別の人口の塗り分け" legend="人口" unit="万人" islands="all" style="height:440px">
<script type="application/json">{
"classes": [0, 100, 200, 500],
"values": {"01": 523, "02": 124, "03": 121, "04": 230, "05": 96, "06": 107, "07": 183, "08": 287, "09": 193, "10": 194,
"11": 735, "12": 629, "13": 1406, "14": 924, "15": 220, "16": 104, "17": 113, "18": 77, "19": 81, "20": 205,
"21": 198, "22": 364, "23": 755, "24": 177, "25": 141, "26": 258, "27": 884, "28": 547, "29": 133, "30": 92,
"31": 55, "32": 67, "33": 189, "34": 280, "35": 134, "36": 72, "37": 95, "38": 134, "39": 69, "40": 514,
"41": 81, "42": 131, "43": 174, "44": 112, "45": 107, "46": 159, "47": 147}
}</script>
</m-map-japan>
</div>
<div class="concl"><span>→ 500 万人以上の 9 都道府県は大都市のまわり</span></div>
</section>
<section id="g-map-japan-3" class="slide">
<h2>北前船の西廻り航路(江戸時代)</h2>
<div class="body">
<m-map-japan aria-label="北前船の航路" labels="none" style="height:440px">
<script type="application/json">{
"points": [
{"lon": 135.43, "lat": 34.65, "label": "大坂", "anchor": "below", "step": 1},
{"lon": 130.94, "lat": 33.96, "label": "下関", "anchor": "left", "step": 2},
{"lon": 139.84, "lat": 38.91, "label": "酒田", "anchor": "right", "step": 3},
{"lon": 140.10, "lat": 41.43, "label": "松前", "anchor": "left", "step": 4}
],
"flows": [
{"from": [135.43, 34.65], "to": [130.94, 33.96], "step": 2,
"via": [[135.15, 34.5], [134.9, 34.6], [134.5, 34.42], [134.0, 34.41], [133.4, 34.18], [133.08, 34.08], [132.9, 34.15], [132.72, 34.08], [132.52, 33.8], [132.1, 33.62], [131.7, 33.84], [131.3, 33.85]]},
{"from": [130.94, 33.96], "to": [139.84, 38.91], "label": "日本海", "labelAt": [134.6, 38.4], "step": 3,
"via": [[130.5, 34.35], [130.85, 35.0], [131.5, 35.45], [132.4, 35.9], [133.2, 36.6], [134.3, 36.25], [135.3, 36.35], [136.2, 37.0], [136.45, 37.75], [137.4, 38.0], [138.0, 38.55], [138.8, 38.8], [139.4, 39.0]]},
{"from": [139.84, 38.91], "to": [140.10, 41.43], "step": 4,
"via": [[139.75, 39.4], [139.5, 40.0], [139.75, 40.6], [139.95, 41.2]]}
]
}</script>
</m-map-japan>
</div>
<div class="concl"><span>→ 大坂から瀬戸内海・日本海を通って北へ</span></div>
</section>
<section id="g-map-japan-4" class="slide">
<h2>日本の範囲(本当の位置)</h2>
<!-- 東西南北の端:国土地理院「日本の東西南北端点の経度緯度」(https://www.gsi.go.jp/KOKUJYOHO/center.htm、2026-10-25 取得)。
東端 南鳥島 153°59′12″E・24°16′59″N、西端 与那国島 122°55′57″E・24°27′05″N、
南端 沖ノ鳥島 136°04′11″E・20°25′31″N、北端 択捉島 148°45′08″E・45°33′26″N(度に直して小数 4 桁に丸めた) -->
<div class="body">
<m-map-japan aria-label="日本の範囲と東西南北の端" layout="true" labels="none" style="height:440px">
<script type="application/json">{
"points": [
{"lon": 148.7522, "lat": 45.5572, "label": "択捉島(北端)", "step": 1},
{"lon": 153.9867, "lat": 24.2831, "label": "南鳥島(東端)", "step": 2},
{"lon": 136.0697, "lat": 20.4253, "label": "沖ノ鳥島(南端)", "step": 3},
{"lon": 122.9325, "lat": 24.4514, "label": "与那国島(西端)", "step": 4}
]
}</script>
</m-map-japan>
</div>
<div class="concl"><span>→ 東西は経度で約 31°、南北は緯度で約 25° に広がる</span></div>
</section>
<section id="g-map-japan-5" class="slide">
<h2>見せ方の種類(variant)</h2>
<div class="body">
<div style="display:grid;grid-template-columns:1fr 1fr 1fr;gap:0 28px;text-align:center;font-size:27px">
<div>フェード(fade、既定)</div><div>西から順に(sweep)</div><div>輪郭から(draw)</div>
<m-map-japan variant="fade" labels="none" style="height:380px">
<script type="application/json">{"regions": [{"group": "kinki", "tone": "term"}, {"group": "kyushu", "tone": "emph"}, {"id": "01", "tone": "accent2"}]}</script>
</m-map-japan>
<m-map-japan variant="sweep" labels="none" style="height:380px">
<script type="application/json">{"regions": [{"group": "kinki", "tone": "term"}, {"group": "kyushu", "tone": "emph"}, {"id": "01", "tone": "accent2"}]}</script>
</m-map-japan>
<m-map-japan variant="draw" labels="none" style="height:380px">
<script type="application/json">{"regions": [{"group": "kinki", "tone": "term"}, {"group": "kyushu", "tone": "emph"}, {"id": "01", "tone": "accent2"}]}</script>
</m-map-japan>
</div>
</div>
<div class="concl"><span>→ 書かなければ最初の見せ方(fade)になる</span></div>
</section>
<section class="slide">
<h2>m-map-world(変わった、v2.16.0)</h2>
<div class="body">
<p>世界の国・地域の地図(太平洋が中央)。国や州の強調、区分と値の塗り分け、点、矢印をステップごとに出す</p>
<ul>
<li>伝えたいこと:場所・地図</li>
<li>見せ方:fade・sweep・draw</li>
<li>内容の分野:地図(社会) サンプルのスライド:3 枚</li>
</ul>
</div>
</section>
<section id="g-map-world-1" class="slide">
<h2>世界の六つの州</h2>
<div class="body">
<m-map-world aria-label="六州の地図" style="height:440px">
<script type="application/json">{
"regions": [
{"group": "asia", "tone": "series-1", "step": 1},
{"group": "europe", "tone": "series-2", "step": 2},
{"group": "africa", "tone": "series-3", "step": 3},
{"group": "north-america", "tone": "series-4", "step": 4},
{"group": "south-america", "tone": "series-1", "step": 5},
{"group": "oceania", "tone": "series-2", "step": 6}
]
}</script>
</m-map-world>
</div>
<div class="concl"><span>→ 六つの州に分けて世界を見る</span></div>
</section>
<section id="g-map-world-2" class="slide">
<h2>国別の値の塗り分け(架空の値)</h2>
<div class="body">
<m-map-world aria-label="架空の値の塗り分け" legend="架空の指標" unit="点" style="height:440px">
<script type="application/json">{
"classes": [0, 20, 40, 60],
"values": {"JPN": 72, "CHN": 48, "TWN": 66, "KOR": 61, "IND": 18, "IDN": 27, "AUS": 64, "NZL": 58, "USA": 75, "CAN": 69,
"MEX": 33, "BRA": 36, "ARG": 41, "CHL": 45, "GBR": 67, "FRA": 63, "DEU": 70, "ITA": 52, "ESP": 49, "RUS": 38,
"TUR": 31, "SAU": 44, "EGY": 15, "NGA": 9, "ZAF": 29, "KEN": 12, "ETH": 6, "VNM": 24, "THA": 35, "PHL": 22}
}</script>
</m-map-world>
</div>
<div class="concl"><span>→ 値は架空。台湾は台湾自身の値で塗る</span></div>
</section>
<section id="g-map-world-3" class="slide">
<h2>東京から世界の都市へ</h2>
<div class="body">
<m-map-world aria-label="東京と世界の都市を結ぶ矢印" labels="none" grid="equator" style="height:440px">
<script type="application/json">{
"points": [
{"lon": 139.69, "lat": 35.69, "label": "東京", "anchor": "above", "step": 1},
{"lon": -118.24, "lat": 34.05, "label": "ロサンゼルス", "anchor": "below", "step": 2},
{"lon": 103.82, "lat": 1.35, "label": "シンガポール", "anchor": "left", "step": 3},
{"lon": 151.21, "lat": -33.87, "label": "シドニー", "anchor": "right", "step": 4},
{"lon": -0.13, "lat": 51.51, "label": "ロンドン", "anchor": "above", "step": 5}
],
"flows": [
{"from": [139.69, 35.69], "to": [-118.24, 34.05], "step": 2},
{"from": [139.69, 35.69], "to": [103.82, 1.35], "bend": -0.2, "step": 3},
{"from": [139.69, 35.69], "to": [151.21, -33.87], "bend": -0.15, "step": 4},
{"from": [103.82, 1.35], "to": [-0.13, 51.51], "step": 5}
]
}</script>
</m-map-world>
</div>
<div class="concl"><span>→ 太平洋が中央の地図では、日本が真ん中に来る</span></div>
</section>
<section class="slide">
<h2>m-market(変わった、v2.16.0)</h2>
<div class="body">
<p>市場規模の入れ子の円(TAM / SAM / SOM)。外の円から 1 つずつ、前の円の大きさから縮んで現れる</p>
<ul>
<li>伝えたいこと:全体と内訳</li>
<li>見せ方:1 種類</li>
<li>内容の分野:ビジネス サンプルのスライド:2 枚</li>
</ul>
</div>
</section>
<section id="g-market-1" class="slide">
<h2>市場の大きさ(架空)</h2>
<div class="body">
<m-market unit="億円" style="height:420px">
<script type="application/json">{
"rings": [
{"key": "TAM", "value": 2400, "basis": "社内文書を書くすべての時間"},
{"key": "SAM", "value": 520, "basis": "定型の報告書(月報・週報)"},
{"key": "SOM", "value": 26, "basis": "5 年で取る中堅企業 800 社"}
]
}</script>
</m-market>
</div>
<div class="concl"><span>→ まず定型の報告書から始める</span></div>
</section>
<section id="g-market-2" class="slide">
<h2>面積を値に比例させる</h2>
<div class="body">
<m-market unit="万人" scale="area" layout="center" count="true" style="height:420px">
<script type="application/json">{
"rings": [
{"key": "全体", "value": 900, "basis": "架空の母集団"},
{"key": "対象", "value": 300, "basis": "条件に合う人"},
{"key": "初年度", "value": 12, "basis": "最初に届く人"}
]
}</script>
</m-market>
</div>
<div class="concl"><span>→ 面積で見ると最初の一歩は小さい</span></div>
</section>
<section class="slide">
<h2>m-numberline(変わった、v2.16.0)</h2>
<div class="body">
<p>数直線。点・□・ジャンプ・不等式の範囲・0.1 の拡大。2 本で比例数直線</p>
<ul>
<li>伝えたいこと:比べる(量・特徴)</li>
<li>見せ方:fade・draw</li>
<li>内容の分野:数理・統計 サンプルのスライド:4 枚</li>
</ul>
</div>
</section>
<section id="g-numberline-1" class="slide">
<h2>3 + 4 − 2 を数直線で</h2>
<div class="body">
<m-numberline style="height:400px">
<script type="application/json">{"lines": [{"from": 0, "to": 10, "step": 1}],
"marks": [{"at": 3}, {"at": 5, "kind": "open", "label": "答え", "show": 5}],
"jumps": [{"from": 3, "to": 7, "label": "+4"}, {"from": 7, "to": 5, "label": "−2"}]}</script>
</m-numberline>
</div>
<div class="concl"><span>→ たすときは右へ、ひくときは左へ進む</span></div>
</section>
<section id="g-numberline-2" class="slide">
<h2>1 と 2 の間を 10 に分ける</h2>
<div class="body">
<m-numberline build="ticks,magnify,marks" style="height:440px">
<script type="application/json">{"lines": [{"from": 0, "to": 3, "step": 1, "unit": "L"}],
"magnify": [{"from": 1, "to": 2}],
"marks": [{"at": 1.3, "line": 1}]}</script>
</m-numberline>
</div>
<div class="concl"><span>→ 1 目盛りは 0.1。1.3 は 1 と 0.1 が 3 つ</span></div>
</section>
<section id="g-numberline-3" class="slide">
<h2>1200 円の 2/3 はいくら(2 本の数直線)</h2>
<div class="body">
<m-numberline build="ticks,links,jumps,marks" style="height:440px">
<script type="application/json">{"lines": [{"from": 0, "to": 1200, "step": 400, "label": "代金", "unit": "円", "labels": [0, 1200]},
{"from": 0, "to": 1, "step": "1/3", "label": "割合"}],
"link": [[1200, 1], [800, "2/3"]],
"jumps": [{"from": 1200, "to": 800, "label": "×2/3"}],
"marks": [{"at": 800, "kind": "box"}]}</script>
</m-numberline>
</div>
</section>
<section id="g-numberline-4" class="slide">
<h2>連立不等式の解(見せ方の種類)</h2>
<div class="body">
<div style="display:grid;grid-template-columns:1fr 1fr;gap:0 36px">
<m-numberline variant="fade" arrow="on" style="height:400px">
<script type="application/json">{"lines": [{"from": -3, "to": 5, "step": 1, "label": "フェード"}],
"ranges": [{"from": -1, "incl": [false, false], "label": "*x* > −1"}, {"to": 3, "incl": [true, true], "label": "*x* ≦ 3"}]}</script>
</m-numberline>
<m-numberline variant="draw" arrow="on" style="height:400px">
<script type="application/json">{"lines": [{"from": -3, "to": 5, "step": 1, "label": "線を引く"}],
"ranges": [{"from": -1, "incl": [false, false], "label": "*x* > −1"}, {"to": 3, "incl": [true, true], "label": "*x* ≦ 3"}]}</script>
</m-numberline>
</div>
</div>
<div class="concl"><span>→ 重なる部分が解:−1 < <i>x</i> ≦ 3(左はフェード、右は線を引く)</span></div>
</section>
<section class="slide">
<h2>m-pie(変わった、v2.16.0)</h2>
<div class="body">
<p>円グラフとドーナツグラフ。切れの名前と値・割合は、大きい切れなら中に、小さい切れなら外に引き出し線で書く</p>
<ul>
<li>伝えたいこと:全体と内訳</li>
<li>見せ方:fade・sweep・grow</li>
<li>内容の分野:標準パーツ サンプルのスライド:3 枚</li>
</ul>
</div>
</section>
<section id="g-pie-1" class="slide">
<h2>1 か月の支出の内訳(架空)</h2>
<div class="body">
<m-pie unit="万円" digits="1" show="both" style="height:440px">
<script type="application/json">{
"slices": [
{"label": "住まい", "value": 8.5},
{"label": "食費", "value": 7.2},
{"label": "教育・娯楽", "value": 3.1},
{"label": "光熱・通信", "value": 2.6},
{"label": "交通", "value": 1.8},
{"label": "その他", "value": 2.0, "tone": "muted"}
]
}</script>
</m-pie>
</div>
<div class="concl"><span>→ 住まいと食費で支出の 6 割を超える</span></div>
</section>
<section id="g-pie-2" class="slide">
<h2>通学の手段(ドーナツ、1 切れずつ。架空)</h2>
<div class="body">
<m-pie donut="0.56" unit="人" per-step="1" style="height:440px">
<script type="application/json">{
"center": "回答\n{total}",
"slices": [
{"label": "自転車", "value": 41},
{"label": "徒歩", "value": 32},
{"label": "バス", "value": 18},
{"label": "電車", "value": 9}
]
}</script>
</m-pie>
</div>
<div class="concl"><span>→ 7 割が自転車か徒歩で通っている</span></div>
</section>
<section id="g-pie-3" class="slide">
<h2>見せ方の種類(variant)</h2>
<div class="body">
<div style="display:grid;grid-template-columns:1fr 1fr 1fr;gap:0 28px;text-align:center;font-size:27px">
<div>フェード(fade、既定)</div><div>掃くように(sweep)</div><div>大きくなる(grow)</div>
<m-pie variant="fade" style="height:340px">
<script type="application/json">{"slices": [{"label": "A", "value": 50}, {"label": "B", "value": 30}, {"label": "C", "value": 20}]}</script>
</m-pie>
<m-pie variant="sweep" style="height:340px">
<script type="application/json">{"slices": [{"label": "A", "value": 50}, {"label": "B", "value": 30}, {"label": "C", "value": 20}]}</script>
</m-pie>
<m-pie variant="grow" style="height:340px">
<script type="application/json">{"slices": [{"label": "A", "value": 50}, {"label": "B", "value": 30}, {"label": "C", "value": 20}]}</script>
</m-pie>
</div>
</div>
<div class="concl"><span>→ 書かなければ最初の見せ方(fade)になる。数字は架空</span></div>
</section>
<section class="slide">
<h2>m-scatter(変わった、v2.16.0)</h2>
<div class="body">
<p>散布図。点の組(系列)をステップごとに出し、そのあと傾向の線(最小二乗の直線か、書いた 2 点)を引く</p>
<ul>
<li>伝えたいこと:2 つの量の関係</li>
<li>見せ方:fade・sweep・grow</li>
<li>内容の分野:標準パーツ サンプルのスライド:3 枚</li>
</ul>
</div>
</section>
<section id="g-scatter-1" class="slide">
<h2>最高気温とアイスの売上:平日と休日(架空)</h2>
<div class="body">
<m-scatter xr="[20,36]" yr="[0,600]" xt="[20,24,28,32,36]" yt="[0,200,400,600]" xl="最高気温(℃)" yl="売上(個)" style="height:430px">
<script type="application/json">{
"series": [
{"label": "平日", "points": [[21.2, 53], [22.6, 8], [22.9, 144], [27.5, 180], [27.6, 188], [29.0, 268], [29.7, 230], [31.4, 279], [31.7, 316], [33.8, 355], [34.2, 261], [34.2, 281]]},
{"label": "休日", "points": [[23.0, 257], [23.3, 269], [23.9, 270], [23.9, 303], [25.1, 321], [29.4, 380], [29.6, 373], [30.5, 379], [33.2, 452], [33.2, 561], [33.5, 446], [34.5, 457]]}
],
"trend": [{"fit": "linear", "series": 0, "tone": "series-1", "dash": true}, {"fit": "linear", "series": 1, "tone": "series-2", "dash": true}]
}</script>
</m-scatter>
</div>
<div class="concl"><span>→ 休日はどの気温でも平日より多く売れる</span></div>
</section>
<section id="g-scatter-2" class="slide">
<h2>傾向の強さと外れた日(架空)</h2>
<div class="body">
<m-scatter xr="[20,36]" yr="[0,500]" xt="[20,24,28,32,36]" yt="[0,100,200,300,400,500]" xl="最高気温(℃)" yl="売上(個)" style="height:430px">
<script type="application/json">{
"series": [{"points": [[23.1, 176], [24.0, 206], [24.3, 159], [24.6, 223], [25.2, 314], [26.5, 277], [27.6, 310],
{"x": 27.6, "y": 440, "label": "花火大会の日", "anchor": "left"},
[29.3, 370], [29.5, 334], [29.8, 361], [29.9, 394], [30.4, 441], [31.1, 442], [31.4, 359], [32.7, 372], [32.7, 439],
[33.3, 472], [33.9, 420], [34.1, 428]]}],
"trend": {"fit": "linear", "label": "傾向(r = {r})", "tone": "emph"}
}</script>
</m-scatter>
</div>
<div class="concl"><span>→ 暑い日ほど売れる。1 ℃ 上がると約 23 個増える</span></div>
</section>
<section id="g-scatter-3" class="slide">
<h2>見せ方の種類(variant)</h2>
<div class="body">
<div style="display:grid;grid-template-columns:1fr 1fr 1fr;gap:0 28px">
<m-scatter variant="fade" xr="[0,10]" yr="[0,10]" xt="[0,5,10]" yt="[0,5,10]" style="height:400px">
<script type="application/json">{"series": [{"label": "フェード(fade、既定)", "points": [[1, 2.2], [2, 2.1], [3, 3.9], [4, 3.6], [5, 5.4], [6, 5.1], [7, 7.2], [8, 6.6], [9, 8.4]]}], "trend": "linear"}</script>
</m-scatter>
<m-scatter variant="sweep" xr="[0,10]" yr="[0,10]" xt="[0,5,10]" yt="[0,5,10]" style="height:400px">
<script type="application/json">{"series": [{"label": "左から(sweep)", "points": [[1, 2.2], [2, 2.1], [3, 3.9], [4, 3.6], [5, 5.4], [6, 5.1], [7, 7.2], [8, 6.6], [9, 8.4]]}], "trend": "linear"}</script>
</m-scatter>
<m-scatter variant="grow" xr="[0,10]" yr="[0,10]" xt="[0,5,10]" yt="[0,5,10]" style="height:400px">
<script type="application/json">{"series": [{"label": "大きくなる(grow)", "points": [[1, 2.2], [2, 2.1], [3, 3.9], [4, 3.6], [5, 5.4], [6, 5.1], [7, 7.2], [8, 6.6], [9, 8.4]]}], "trend": "linear"}</script>
</m-scatter>
</div>
</div>
<div class="concl"><span>→ 書かなければ最初の見せ方(fade)になる。数字は架空</span></div>
</section>
<section class="slide">
<h2>m-seq(変わった、v2.16.0)</h2>
<div class="body">
<p>観測を 1 つずつ加え、分布と数値が更新されていく様子を見せる(前の分布は薄く残す)</p>
<ul>
<li>伝えたいこと:ばらつき</li>
<li>見せ方:1 種類</li>
<li>内容の分野:数理・統計 サンプルのスライド:1 枚</li>
</ul>
</div>
</section>
<section id="g-seq-1" class="slide">
<h2>平均の事後分布が観測ごとに狭くなる(観測は架空)</h2>
<div class="body">
<m-seq per-step="2" xr="[-3,4]" yr="[0,1.25]" xt="[-2,0,2,4]" yt="[0,0.5,1]" yf="1" xl="平均 *θ*" yl="密度" style="height:420px">
<script type="application/json" id="seq-data">{}</script>
</m-seq>
</div>
<div class="concl"><span>→ 観測が増えるほど,事後分布は狭くなる</span></div>
</section>
<section class="slide">
<h2>m-tape(変わった、v2.16.0)</h2>
<div class="body">
<p>テープ図・線分図。全体や部分を括弧で括り、わからない量は □ か ?。行から行へ「2 倍」の矢印</p>
<ul>
<li>伝えたいこと:全体と内訳・比べる(量・特徴)</li>
<li>見せ方:fade・grow</li>
<li>内容の分野:数理・統計 サンプルのスライド:4 枚</li>
</ul>
</div>
</section>
<section id="g-tape-1" class="slide">
<h2>2 つの量をくらべる:B のリボンは何 m?</h2>
<div class="body">
<m-tape style="height:440px">
<script type="application/json">{"rows": [
{"label": "A", "segs": [{"v": 12, "label": "12 m"}]},
{"label": "B", "segs": [{"v": 12, "label": "12 m"}, {"v": 5, "label": "5 m"}]}],
"brace": [{"row": 1, "from": 0, "to": 1, "label": "□ m", "side": "below"}]}</script>
</m-tape>
</div>
<div class="concl"><span>→ B は A より 5 m 長い。□ = 12 + 5 = 17</span></div>
</section>
<section id="g-tape-2" class="slide">
<h2>□を使った式:みかんははじめに何こ?</h2>
<div class="body">
<m-tape style="height:360px">
<script type="application/json">{"rows": [{"segs": [{"v": 8, "label": "食べた 8 こ"}, {"v": 15, "label": "のこり 15 こ"}]}],
"brace": [{"row": 0, "from": 0, "to": 1, "label": "はじめ □ こ", "side": "above"}]}</script>
</m-tape>
</div>
<div class="concl"><span>→ □ − 8 = 15 だから、□ = 15 + 8 = 23</span></div>
</section>
<section id="g-tape-3" class="slide">
<h2>B のテープは A のテープの何倍?(線分図)</h2>
<div class="body">
<m-tape kind="line" style="height:380px">
<script type="application/json">{"rows": [
{"label": "A のテープ", "segs": [{"v": 12, "label": "12 m"}]},
{"label": "B のテープ", "segs": [{"v": 12}, {"v": 12}, {"v": 12}]}],
"brace": [{"row": 1, "from": 0, "to": 2, "label": "36 m", "side": "below"}],
"times": [{"from": 0, "to": 1, "label": "□ 倍"}]}</script>
</m-tape>
</div>
<div class="concl"><span>→ B は A(12 m)の 3 つ分で 36 m。36 ÷ 12 = 3 で 3 倍</span></div>
</section>
<section id="g-tape-4" class="slide">
<h2>見せ方の種類(variant)</h2>
<div class="body">
<div style="display:grid;grid-template-columns:1fr 1fr;gap:0 36px">
<m-tape variant="fade" build="rows" style="height:400px">
<script type="application/json">{"rows": [{"label": "弟", "segs": [{"v": 20, "label": "20 まい"}]},
{"label": "兄", "segs": [{"v": 40, "unknown": "□", "label": "まい"}]}],
"times": [{"from": 0, "to": 1, "label": "2 倍"}]}</script>
</m-tape>
<m-tape variant="grow" build="rows" style="height:400px">
<script type="application/json">{"rows": [{"label": "弟", "segs": [{"v": 20, "label": "20 まい"}]},
{"label": "兄", "segs": [{"v": 40, "unknown": "□", "label": "まい"}]}],
"times": [{"from": 0, "to": 1, "label": "2 倍"}]}</script>
</m-tape>
</div>
</div>
<div class="concl"><span>→ 左はフェード(既定)、右は左から伸びる</span></div>
</section>
<section class="slide">
<h2>m-vector(変わった、v2.16.0)</h2>
<div class="body">
<p>平面のベクトルの和・差・スカラー倍・正射影・内積と、2 × 2 の行列の 1 次変換・固有ベクトル・基底の取り替えを 1 ステップずつ。右に式</p>
<ul>
<li>伝えたいこと:仕組みをモデルで見る</li>
<li>見せ方:1 種類</li>
<li>内容の分野:数理・統計 サンプルのスライド:4 枚</li>
</ul>
</div>
</section>
<section id="g-vector-1" class="slide">
<h2>ベクトルの和は、矢印を先につないで求める</h2>
<div class="body">
<m-vector style="height:400px">
<script type="application/json">{"range": [-3, 4, -1, 4], "vectors": [{"id": "a", "v": [2, 1]}, {"id": "b", "v": [-1, 2]}], "ops": [{"sum": ["a", "b"], "as": "c", "value": [1, 3]}, {"dot": ["a", "b"], "value": 0}]}</script>
</m-vector>
</div>
<div class="concl"><span>内積が 0 なので、a と b は直交している</span></div>
</section>
<section id="g-vector-2" class="slide">
<h2>正射影の長さと内積の関係</h2>
<div class="body">
<m-vector style="height:400px">
<script type="application/json">{"range": [-1, 4, -1, 4], "vectors": [{"id": "a", "v": [1, 3]}, {"id": "b", "v": [3, 1]}], "ops": [{"proj": ["a", "b"], "value": [1.8, 0.6]}, {"dot": ["a", "b"], "value": 6}]}</script>
</m-vector>
</div>
<div class="concl"><span>正射影は、内積 ÷ |b|² を b に掛けたもの</span></div>
</section>