Skip to content

OCaml Meeting 2026のアンケート結果をチャートで可視化 - #23

Merged
lmdexpr merged 1 commit into
ocaml-jp:mainfrom
smorimoto:feature/add-yaml-driven-charts
Aug 30, 2026
Merged

OCaml Meeting 2026のアンケート結果をチャートで可視化#23
lmdexpr merged 1 commit into
ocaml-jp:mainfrom
smorimoto:feature/add-yaml-driven-charts

Conversation

@smorimoto

Copy link
Copy Markdown
Contributor

概要

OCaml Meeting 2026 in Tokyoの開催報告に、事前・参加後アンケートの集計結果を追加します。アンケートデータはMarkdownから分離したYAMLで管理し、本文中の任意位置へチャートや集計値を配置できるようにしました。

主な変更

  • YAMLからチャートとstatsグループを読み込むデータモデル・バリデーションを追加
  • Markdownへ {{ chart:<id> }}{{ stats:<id> }} で任意配置できる仕組みを追加
  • 円グラフ、横棒グラフ、縦棒グラフ、グループ化棒グラフに対応
  • 未知ID、ID重複、未配置、statsの重複配置をビルド時に検出
  • OCamlロゴのオレンジを基調にしたレスポンシブなチャート・statsデザインを追加
  • 開催報告へ参加状況、アンケート回答数、事前・参加後アンケート結果を追加
  • Duneロックファイルを更新し、Dune 3.24.2およびYOCaml 3.0.1系で再生成

確認内容

  • dune build
  • dune exec ocaml-jp-site -- build
  • デスクトップ・中間幅・モバイル幅でのレイアウト確認
  • 17個のチャートと2個のstatsグループの表示確認
  • 横方向のオーバーフローおよびブラウザコンソールエラーがないことを確認

表示確認

dune exec ocaml-jp-site -- serve

http://localhost:8080/events/ocaml_meeting_2026.html を開いて確認できます。

Comment thread contents/events/ocaml_meeting_2026.yaml Outdated
@smorimoto
smorimoto force-pushed the feature/add-yaml-driven-charts branch from 62bcf9e to 78d73d2 Compare August 28, 2026 11:08
@smorimoto
smorimoto force-pushed the feature/add-yaml-driven-charts branch from a8a010f to f521723 Compare August 29, 2026 11:20
@lmdexpr
lmdexpr merged commit 9ccb197 into ocaml-jp:main Aug 30, 2026
1 check passed
@smorimoto
smorimoto deleted the feature/add-yaml-driven-charts branch August 30, 2026 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants