Fictional sample comparison: four checks versus three; native Sweetviz export available
HTML for this example
Select the code and use your copy shortcut. Changes in this preview are temporary.
<!doctype html>
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Two batches, two denominators</title><style>*{box-sizing:border-box}body{margin:0;background:#f2f0eb;color:#292b31;font:17px/1.6 system-ui,sans-serif}main{max-width:840px;margin:32px auto;padding:28px;background:white;border-top:5px solid #544476}h1{font:500 clamp(30px,6vw,44px)/1.15 Georgia,serif;margin:12px 0 18px}h2{font-size:21px;margin-top:30px}p{max-width:65ch}table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}th,td{padding:12px 8px;border-bottom:1px solid #ccc;text-align:left;vertical-align:top;overflow-wrap:anywhere}thead{background:#eeebf4}caption{text-align:left;margin-bottom:12px}td:not(:first-child){text-align:right}summary{cursor:pointer;font-weight:650;padding:12px;background:#eeebf4}a{color:#49327b}.note{padding:16px;border-left:3px solid #716086;background:#f3f1f7}small{display:block;margin-top:25px}@media(max-width:600px){main{margin:0;padding:22px 16px}th,td{padding:10px 5px;font-size:15px}}</style></head><body><main><p>ORIGINAL FICTIONAL EXERCISE</p><h1>Two batches, two denominators</h1><p>Both batches have two first-attempt completions. Their completion rates differ because their sample sizes differ.</p><table id="comparison"><caption>Reading companion to the actual Sweetviz 2.3.2 export</caption><thead><tr><th scope="col">Measure</th><th scope="col">Batch A</th><th scope="col">Batch B</th></tr></thead><tbody><tr><th scope="row">Source checks</th><td>4</td><td>3</td></tr><tr><th scope="row">First-attempt completions</th><td>2</td><td>2</td></tr><tr><th scope="row">Completion rate</th><td>2/4 = 50%</td><td>2/3 ≈ 66.7%</td></tr><tr><th scope="row">Total inspection minutes</th><td>20</td><td>30</td></tr><tr><th scope="row">Mean inspection minutes</th><td>20/4 = 5</td><td>30/3 = 10</td></tr></tbody></table><p class="note"><strong>These seven records are invented.</strong> The comparison describes the supplied samples. It does not demonstrate a process improvement or explain why the batches differ.</p><details id="records"><summary>Inspect all seven source records</summary><table><caption>Minutes and first-attempt completion, in source order</caption><thead><tr><th scope="col">Batch</th><th scope="col">Minutes</th><th scope="col">First attempt</th></tr></thead><tbody><tr><td>A</td><td>2</td><td>true</td></tr><tr><td>A</td><td>4</td><td>false</td></tr><tr><td>A</td><td>6</td><td>true</td></tr><tr><td>A</td><td>8</td><td>false</td></tr><tr><td>B</td><td>3</td><td>true</td></tr><tr><td>B</td><td>9</td><td>false</td></tr><tr><td>B</td><td>18</td><td>true</td></tr></tbody></table></details><h2>Keep the native report with this reading copy</h2><p>This page is an authored companion, not Sweetviz's own layout. The native export contains the actual feature charts and expandable details. Its small-screen text and expanded desktop width need separate consideration.</p><p><a href="/examples/files/sweetviz-compare-unequal-samples.native.html">Download the untouched Sweetviz report</a> · <a href="/examples/files/sweetviz-compare-unequal-samples.py">Download the complete generator</a></p><small>Static report. No uploading, saving, or Python recalculation occurs here.</small></main></body></html>