Published
Edited
May 9, 2021
1 fork
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
para_4 = md`Using these values, an example record comparison could look like:
${dict_as_md_table_row(row_no_gammas)}

The comparison vector is:

${texd`${get_comparison_vector_symbols_and_numbers(row, settings)}`}

The overall formula is:

${texd`${get_m_u_formula_symbols(row, settings)}`}

and substituting numbers we get:

${texd`\text{match probability}`} = ${tex`${get_m_u_formula_numbers(
row,
settings
)}`}


`
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
css_styles = html`<style>
.katex-display>.katex { font-size: 1em}
textarea {
max-height: 1000em !important;
font-family: monospace !important;
}

.katex-display>.katex>.katex-html>.tag {right: unset; padding-left:4em}

.hl_m {
background-color: ${color_match.hex()};
display:inline-block;
}

.hl_nm {
background-color: ${color_non_match.hex()};
display:inline-block;
}

</style>`
Insert cell
import { default_settings } from "@robinl/treemap-for-bayes-intuition"
Insert cell
settings = JSON.parse(settings_raw)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
import {
styles,
plot_treemap,
color_match,
color_non_match
} from "@robinl/treemap-for-bayes-intuition"
Insert cell
additional_styles = styles
Insert cell
import { Textarea } from "@observablehq/inputs"
Insert cell
Insert cell
Insert cell
Insert cell
Type JavaScript, then Shift-Enter. Ctrl-space for more options. Arrow ↑/↓ to switch modes.

Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more