function blueprintWeightsFigure(host) { ensureStyles(); var domains = [ { label: 'Fundamentals', weight: 16 }, { label: 'Architecture', weight: 14 }, { label: 'Interactions', weight: 26 }, { label: 'Security', weight: 24 }, { label: 'Use Cases', weight: 20 } ]; var baseline = 210; var barWidth = 70; var step = 100; var startX = 45; var pxPerPercent = 5; var bars = ''; var i, d, x, barHeight, barY, valueY, labelY, centerX; for (i = 0; i < domains.length; i += 1) { d = domains[i]; x = startX + i * step; centerX = x + barWidth / 2; barHeight = d.weight * pxPerPercent; barY = baseline - barHeight; valueY = barY - 8; labelY = baseline + 18; bars += ''; bars += '' + d.weight + '%'; bars += '' + d.label + ''; } var shell = document.createElement('div'); shell.className = 'mf-shell'; shell.innerHTML = [ '
MCPA Blueprint five domains weighted by percent of exam content
', '
', '', '', '', bars, '', '
', '
Interactions and Execution and Security and Governance together carry half the blueprint. Study hours split evenly across five domains would starve the two tallest bars.
' ].join(''); host.appendChild(shell); } // register as: mcpa-00-blueprint-weights