This document demonstrates MarkCharm's ability to integrate real-time computational execution using Jupyter Kernels. Variables declared in one block persist to the next, and charts (Matplotlib, Plotly) are rendered automatically via base64 interception through image/png, without dirty temporary files.
The table below will be rendered using pandas, declared inside a quadro container with source and footnotes:
| Quarter | Revenue | Operating Expense | Net Profit | Margin (%) | |
|---|---|---|---|---|---|
| 0 | Q1 | 15000 | 8000 | 7000 | 46.67 |
| 1 | Q2 | 22000 | 9500 | 12500 | 56.82 |
| 2 | Q3 | 18500 | 8200 | 10300 | 55.68 |
| 3 | Q4 | 31000 | 11000 | 20000 | 64.52 |
Next, we generate a chart from the data created in the previous code cell, wrapped in a figure container:
As seen in figure “Consolidated Revenue vs. Expense Chart” and detailed analytically in chart 1.1, the stateful behavior of the Jupyter Kernel is working perfectly!