chartlet 0.19.0

Compile structured data into deterministic, accessible static charts
Documentation
1
<div class="chartlet-wrapper chartlet-responsive chartlet-bp-640"><style>.chartlet-wrapper.chartlet-responsive{display:block;width:100%;container-type:inline-size}.chartlet-variant-mobile{display:none}@container (max-width:639px){.chartlet-bp-640 .chartlet-variant-desktop{display:none}.chartlet-bp-640 .chartlet-variant-mobile{display:block}}</style><figure class="chartlet-figure" data-viz="chart"><figcaption>Overall survival by treatment</figcaption><div class="chartlet-variant-desktop"><svg xmlns="http://www.w3.org/2000/svg" width="760" height="520" viewBox="0 0 760 520" id="chartlet-0202987bad590182" role="img" aria-labelledby="chartlet-0202987bad590182-title chartlet-0202987bad590182-description" class="chartlet-root"><title id="chartlet-0202987bad590182-title">Overall survival by treatment</title><desc id="chartlet-0202987bad590182-description">Kaplan-Meier curves of 2 groups, with 95% confidence bands. Standard: 40 observations, 23 events, median 9.9, 29.7% at the end. New drug: 40 observations, 20 events, median 11.7, 29.6% at the end. Log-rank test: χ² = 0.59, 1 degree of freedom, p = 0.444. Hazard ratio of New drug against Standard: 0.79 (95% confidence interval 0.43 to 1.44).</desc><style>.chartlet-root{--chartlet-text:#172033;--chartlet-muted:#344054;--chartlet-grid:#d9dee8;--chartlet-zero:#667085;--chartlet-accent:#2563eb;--chartlet-background:#fff;--chartlet-color-1:#2563eb;--chartlet-color-2:#c2410c;--chartlet-color-3:#475569;--chartlet-color-4:#111827;max-width:100%;height:auto;font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:var(--chartlet-text)}#chartlet-0202987bad590182 .chartlet-title{font-size:22px;font-weight:650;fill:var(--chartlet-text)}#chartlet-0202987bad590182 .chartlet-label,#chartlet-0202987bad590182 .chartlet-tick,#chartlet-0202987bad590182 .chartlet-value,#chartlet-0202987bad590182 .chartlet-value-inverse,#chartlet-0202987bad590182 .chartlet-axis-title{font-size:12px;fill:var(--chartlet-muted)}#chartlet-0202987bad590182 .chartlet-value,#chartlet-0202987bad590182 .chartlet-value-inverse{font-weight:600}#chartlet-0202987bad590182 .chartlet-value{fill:var(--chartlet-text)}#chartlet-0202987bad590182 .chartlet-value-inverse{fill:var(--chartlet-background)}#chartlet-0202987bad590182 .chartlet-axis-title{font-weight:600}#chartlet-0202987bad590182 .chartlet-grid{stroke:var(--chartlet-grid);stroke-width:1}#chartlet-0202987bad590182 .chartlet-zero{stroke:var(--chartlet-zero);stroke-width:1.5}#chartlet-0202987bad590182 .chartlet-bar,#chartlet-0202987bad590182 .chartlet-point{fill:var(--chartlet-accent)}#chartlet-0202987bad590182 .chartlet-line{fill:none;stroke:var(--chartlet-accent);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}#chartlet-0202987bad590182 .chartlet-background{fill:var(--chartlet-background)}#chartlet-0202987bad590182 .chartlet-km-1{fill:var(--chartlet-color-1);stroke:var(--chartlet-color-1)}#chartlet-0202987bad590182 .chartlet-km-2{fill:var(--chartlet-color-2);stroke:var(--chartlet-color-2)}#chartlet-0202987bad590182 .chartlet-km-3{fill:var(--chartlet-color-3);stroke:var(--chartlet-color-3)}#chartlet-0202987bad590182 .chartlet-km-4{fill:var(--chartlet-color-4);stroke:var(--chartlet-color-4)}#chartlet-0202987bad590182 .chartlet-km-line{fill:none;stroke-width:2.5;stroke-linejoin:round}#chartlet-0202987bad590182 .chartlet-km-band{stroke:none;fill-opacity:.15}#chartlet-0202987bad590182 .chartlet-km-mark{stroke-width:1.5}#chartlet-0202987bad590182 .chartlet-km-swatch{stroke:none}#chartlet-0202987bad590182 .chartlet-legend{font-size:12px;fill:var(--chartlet-muted)}</style><rect x="82.28" y="5" width="14" height="3" class="chartlet-km-swatch chartlet-km-1"/><text x="102.28" y="11" text-anchor="start" class="chartlet-legend">Standard</text><rect x="177.36" y="5" width="14" height="3" class="chartlet-km-swatch chartlet-km-2"/><text x="197.36" y="11" text-anchor="start" class="chartlet-legend">New drug</text><line x1="82.28" y1="400" x2="736" y2="400" class="chartlet-zero"/><text x="72.28" y="404" text-anchor="end" class="chartlet-tick">0%</text><line x1="82.28" y1="325.2" x2="736" y2="325.2" class="chartlet-grid"/><text x="72.28" y="329.2" text-anchor="end" class="chartlet-tick">20%</text><line x1="82.28" y1="250.4" x2="736" y2="250.4" class="chartlet-grid"/><text x="72.28" y="254.4" text-anchor="end" class="chartlet-tick">40%</text><line x1="82.28" y1="175.6" x2="736" y2="175.6" class="chartlet-grid"/><text x="72.28" y="179.6" text-anchor="end" class="chartlet-tick">60%</text><line x1="82.28" y1="100.8" x2="736" y2="100.8" class="chartlet-grid"/><text x="72.28" y="104.8" text-anchor="end" class="chartlet-tick">80%</text><line x1="82.28" y1="26" x2="736" y2="26" class="chartlet-grid"/><text x="72.28" y="30" text-anchor="end" class="chartlet-tick">100%</text><text x="82.28" y="422" text-anchor="middle" class="chartlet-tick">0</text><text x="300.187" y="422" text-anchor="middle" class="chartlet-tick">10</text><text x="518.093" y="422" text-anchor="middle" class="chartlet-tick">20</text><text x="736" y="422" text-anchor="middle" class="chartlet-tick">30</text><text x="409.14" y="442" text-anchor="middle" class="chartlet-axis-title">Months since randomization</text><polyline points="82.28,26 82.28,26 82.28,27.331 90.996,27.331 90.996,30.766 106.25,30.766 106.25,35.366 110.608,35.366 110.608,46.538 112.787,46.538 112.787,52.928 114.966,52.928 114.966,59.676 119.324,59.676 119.324,66.727 121.503,66.727 121.503,74.043 125.861,74.043 125.861,81.789 145.473,81.789 145.473,89.987 147.652,89.987 147.652,107.079 156.368,107.079 156.368,115.943 197.771,115.943 197.771,125.005 258.784,125.005 258.784,134.589 265.322,134.589 265.322,145.173 293.649,145.173 293.649,156.05 298.008,156.05 298.008,167.213 306.724,167.213 306.724,178.661 332.873,178.661 332.873,190.396 385.17,190.396 385.17,204.753 406.961,204.753 406.961,222.124 733.821,222.124 733.821,348.642 406.961,348.642 406.961,327.434 385.17,327.434 385.17,311.8 332.873,311.8 332.873,300.864 306.724,300.864 306.724,289.548 298.008,289.548 298.008,277.843 293.649,277.843 293.649,265.729 265.322,265.729 265.322,253.178 258.784,253.178 258.784,242.136 197.771,242.136 197.771,231.591 156.368,231.591 156.368,220.814 147.652,220.814 147.652,198.492 145.473,198.492 145.473,186.893 125.861,186.893 125.861,175.64 121.503,175.64 121.503,164.718 119.324,164.718 119.324,153.536 114.966,153.536 114.966,142.062 112.787,142.062 112.787,130.249 110.608,130.249 110.608,107.021 106.25,107.021 106.25,95.361 90.996,95.361 90.996,87.53 82.28,87.53 82.28,26 82.28,26" class="chartlet-km-band chartlet-km-1"/><polyline points="82.28,26 82.28,26 82.28,35.35 90.996,35.35 90.996,44.7 106.25,44.7 106.25,54.303 110.608,54.303 110.608,73.508 112.787,73.508 112.787,83.402 114.966,83.402 114.966,93.295 119.324,93.295 119.324,103.189 121.503,103.189 121.503,113.083 125.861,113.083 125.861,123.33 145.473,123.33 145.473,133.971 147.652,133.971 147.652,155.253 156.368,155.253 156.368,165.895 197.771,165.895 197.771,176.536 258.784,176.536 258.784,187.709 265.322,187.709 265.322,200.197 293.649,200.197 293.649,212.684 298.008,212.684 298.008,225.172 306.724,225.172 306.724,237.66 332.873,237.66 332.873,250.147 385.17,250.147 385.17,266.798 406.961,266.798 406.961,288.998 733.821,288.998" class="chartlet-km-line chartlet-km-1"><title>Standard: 40 observations, 23 events, median 9.9, 29.7% at the end.</title></polyline><line x1="93.175" y1="40.7" x2="93.175" y2="48.7" class="chartlet-km-mark chartlet-km-1"/><line x1="110.608" y1="69.508" x2="110.608" y2="77.508" class="chartlet-km-mark chartlet-km-1"/><line x1="121.503" y1="109.083" x2="121.503" y2="117.083" class="chartlet-km-mark chartlet-km-1"/><line x1="128.04" y1="119.33" x2="128.04" y2="127.33" class="chartlet-km-mark chartlet-km-1"/><line x1="197.771" y1="172.536" x2="197.771" y2="180.536" class="chartlet-km-mark chartlet-km-1"/><line x1="258.784" y1="183.709" x2="258.784" y2="191.709" class="chartlet-km-mark chartlet-km-1"/><line x1="263.143" y1="183.709" x2="263.143" y2="191.709" class="chartlet-km-mark chartlet-km-1"/><line x1="335.052" y1="246.147" x2="335.052" y2="254.147" class="chartlet-km-mark chartlet-km-1"/><line x1="341.589" y1="246.147" x2="341.589" y2="254.147" class="chartlet-km-mark chartlet-km-1"/><line x1="343.768" y1="246.147" x2="343.768" y2="254.147" class="chartlet-km-mark chartlet-km-1"/><line x1="387.349" y1="262.798" x2="387.349" y2="270.798" class="chartlet-km-mark chartlet-km-1"/><line x1="389.528" y1="262.798" x2="389.528" y2="270.798" class="chartlet-km-mark chartlet-km-1"/><line x1="544.242" y1="284.998" x2="544.242" y2="292.998" class="chartlet-km-mark chartlet-km-1"/><line x1="576.928" y1="284.998" x2="576.928" y2="292.998" class="chartlet-km-mark chartlet-km-1"/><line x1="635.763" y1="284.998" x2="635.763" y2="292.998" class="chartlet-km-mark chartlet-km-1"/><line x1="712.03" y1="284.998" x2="712.03" y2="292.998" class="chartlet-km-mark chartlet-km-1"/><line x1="733.821" y1="284.998" x2="733.821" y2="292.998" class="chartlet-km-mark chartlet-km-1"/><polyline points="82.28,26 90.996,26 90.996,27.331 93.175,27.331 93.175,30.766 95.354,30.766 95.354,35.284 104.071,35.284 104.071,40.494 123.682,40.494 123.682,46.437 136.757,46.437 136.757,52.957 141.115,52.957 141.115,59.862 191.233,59.862 191.233,75.782 206.487,75.782 206.487,84.247 217.382,84.247 217.382,103.183 236.994,103.183 236.994,113.132 239.173,113.132 239.173,123.373 250.068,123.373 250.068,133.894 287.112,133.894 287.112,145.647 337.231,145.647 337.231,158.383 345.947,158.383 345.947,171.597 546.421,171.597 546.421,190.028 566.033,190.028 566.033,211.893 712.03,211.893 712.03,356.638 566.033,356.638 566.033,332.398 546.421,332.398 546.421,301.587 345.947,301.587 345.947,287.475 337.231,287.475 337.231,272.603 287.112,272.603 287.112,258.594 250.068,258.594 250.068,246.479 239.173,246.479 239.173,233.99 236.994,233.99 236.994,221.093 217.382,221.093 217.382,193.834 206.487,193.834 206.487,181.19 191.233,181.19 191.233,154.37 141.115,154.37 141.115,142.346 136.757,142.346 136.757,129.868 123.682,129.868 123.682,117.579 104.071,117.579 104.071,106.33 95.354,106.33 95.354,95.361 93.175,95.361 93.175,87.53 90.996,87.53 90.996,26 82.28,26" class="chartlet-km-band chartlet-km-2"/><polyline points="82.28,26 90.996,26 90.996,35.35 93.175,35.35 93.175,44.7 95.354,44.7 95.354,54.05 104.071,54.05 104.071,63.4 123.682,63.4 123.682,73.3 136.757,73.3 136.757,83.509 141.115,83.509 141.115,93.719 191.233,93.719 191.233,116.406 206.487,116.406 206.487,127.75 217.382,127.75 217.382,152.5 236.994,152.5 236.994,164.875 239.173,164.875 239.173,177.25 250.068,177.25 250.068,189.625 287.112,189.625 287.112,203.65 337.231,203.65 337.231,218.754 345.947,218.754 345.947,233.858 546.421,233.858 546.421,261.548 566.033,261.548 566.033,289.238 712.03,289.238" class="chartlet-km-line chartlet-km-2"><title>New drug: 40 observations, 20 events, median 11.7, 29.6% at the end.</title></polyline><line x1="106.25" y1="59.4" x2="106.25" y2="67.4" class="chartlet-km-mark chartlet-km-2"/><line x1="121.503" y1="59.4" x2="121.503" y2="67.4" class="chartlet-km-mark chartlet-km-2"/><line x1="130.219" y1="69.3" x2="130.219" y2="77.3" class="chartlet-km-mark chartlet-km-2"/><line x1="149.831" y1="89.719" x2="149.831" y2="97.719" class="chartlet-km-mark chartlet-km-2"/><line x1="167.264" y1="89.719" x2="167.264" y2="97.719" class="chartlet-km-mark chartlet-km-2"/><line x1="182.517" y1="89.719" x2="182.517" y2="97.719" class="chartlet-km-mark chartlet-km-2"/><line x1="206.487" y1="123.75" x2="206.487" y2="131.75" class="chartlet-km-mark chartlet-km-2"/><line x1="215.203" y1="123.75" x2="215.203" y2="131.75" class="chartlet-km-mark chartlet-km-2"/><line x1="265.322" y1="185.625" x2="265.322" y2="193.625" class="chartlet-km-mark chartlet-km-2"/><line x1="274.038" y1="185.625" x2="274.038" y2="193.625" class="chartlet-km-mark chartlet-km-2"/><line x1="298.008" y1="199.65" x2="298.008" y2="207.65" class="chartlet-km-mark chartlet-km-2"/><line x1="398.245" y1="229.858" x2="398.245" y2="237.858" class="chartlet-km-mark chartlet-km-2"/><line x1="463.617" y1="229.858" x2="463.617" y2="237.858" class="chartlet-km-mark chartlet-km-2"/><line x1="476.691" y1="229.858" x2="476.691" y2="237.858" class="chartlet-km-mark chartlet-km-2"/><line x1="502.84" y1="229.858" x2="502.84" y2="237.858" class="chartlet-km-mark chartlet-km-2"/><line x1="511.556" y1="229.858" x2="511.556" y2="237.858" class="chartlet-km-mark chartlet-km-2"/><line x1="607.435" y1="285.238" x2="607.435" y2="293.238" class="chartlet-km-mark chartlet-km-2"/><line x1="616.151" y1="285.238" x2="616.151" y2="293.238" class="chartlet-km-mark chartlet-km-2"/><line x1="696.777" y1="285.238" x2="696.777" y2="293.238" class="chartlet-km-mark chartlet-km-2"/><line x1="712.03" y1="285.238" x2="712.03" y2="293.238" class="chartlet-km-mark chartlet-km-2"/><text x="730" y="44" text-anchor="end" class="chartlet-legend">Log-rank p = 0.444</text><text x="82.28" y="466" text-anchor="start" class="chartlet-axis-title">Number at risk</text><text x="60.28" y="484" text-anchor="end" class="chartlet-tick">Standard</text><text x="82.28" y="484" text-anchor="middle" class="chartlet-tick">40</text><text x="300.187" y="484" text-anchor="middle" class="chartlet-tick">14</text><text x="518.093" y="484" text-anchor="middle" class="chartlet-tick">5</text><text x="736" y="484" text-anchor="middle" class="chartlet-tick">0</text><text x="60.28" y="502" text-anchor="end" class="chartlet-tick">New drug</text><text x="82.28" y="502" text-anchor="middle" class="chartlet-tick">40</text><text x="300.187" y="502" text-anchor="middle" class="chartlet-tick">13</text><text x="518.093" y="502" text-anchor="middle" class="chartlet-tick">6</text><text x="736" y="502" text-anchor="middle" class="chartlet-tick">0</text></svg></div><div class="chartlet-variant-mobile"><svg xmlns="http://www.w3.org/2000/svg" width="380" height="560" viewBox="0 0 380 560" id="chartlet-0202987bad590182-m" role="img" aria-labelledby="chartlet-0202987bad590182-m-title chartlet-0202987bad590182-m-description" class="chartlet-root"><title id="chartlet-0202987bad590182-m-title">Overall survival by treatment</title><desc id="chartlet-0202987bad590182-m-description">Kaplan-Meier curves of 2 groups, with 95% confidence bands. Standard: 40 observations, 23 events, median 9.9, 29.7% at the end. New drug: 40 observations, 20 events, median 11.7, 29.6% at the end. Log-rank test: χ² = 0.59, 1 degree of freedom, p = 0.444. Hazard ratio of New drug against Standard: 0.79 (95% confidence interval 0.43 to 1.44).</desc><style>.chartlet-root{--chartlet-text:#172033;--chartlet-muted:#344054;--chartlet-grid:#d9dee8;--chartlet-zero:#667085;--chartlet-accent:#2563eb;--chartlet-background:#fff;--chartlet-color-1:#2563eb;--chartlet-color-2:#c2410c;--chartlet-color-3:#475569;--chartlet-color-4:#111827;max-width:100%;height:auto;font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:var(--chartlet-text)}#chartlet-0202987bad590182-m .chartlet-title{font-size:22px;font-weight:650;fill:var(--chartlet-text)}#chartlet-0202987bad590182-m .chartlet-label,#chartlet-0202987bad590182-m .chartlet-tick,#chartlet-0202987bad590182-m .chartlet-value,#chartlet-0202987bad590182-m .chartlet-value-inverse,#chartlet-0202987bad590182-m .chartlet-axis-title{font-size:12px;fill:var(--chartlet-muted)}#chartlet-0202987bad590182-m .chartlet-value,#chartlet-0202987bad590182-m .chartlet-value-inverse{font-weight:600}#chartlet-0202987bad590182-m .chartlet-value{fill:var(--chartlet-text)}#chartlet-0202987bad590182-m .chartlet-value-inverse{fill:var(--chartlet-background)}#chartlet-0202987bad590182-m .chartlet-axis-title{font-weight:600}#chartlet-0202987bad590182-m .chartlet-grid{stroke:var(--chartlet-grid);stroke-width:1}#chartlet-0202987bad590182-m .chartlet-zero{stroke:var(--chartlet-zero);stroke-width:1.5}#chartlet-0202987bad590182-m .chartlet-bar,#chartlet-0202987bad590182-m .chartlet-point{fill:var(--chartlet-accent)}#chartlet-0202987bad590182-m .chartlet-line{fill:none;stroke:var(--chartlet-accent);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}#chartlet-0202987bad590182-m .chartlet-background{fill:var(--chartlet-background)}#chartlet-0202987bad590182-m .chartlet-km-1{fill:var(--chartlet-color-1);stroke:var(--chartlet-color-1)}#chartlet-0202987bad590182-m .chartlet-km-2{fill:var(--chartlet-color-2);stroke:var(--chartlet-color-2)}#chartlet-0202987bad590182-m .chartlet-km-3{fill:var(--chartlet-color-3);stroke:var(--chartlet-color-3)}#chartlet-0202987bad590182-m .chartlet-km-4{fill:var(--chartlet-color-4);stroke:var(--chartlet-color-4)}#chartlet-0202987bad590182-m .chartlet-km-line{fill:none;stroke-width:2.5;stroke-linejoin:round}#chartlet-0202987bad590182-m .chartlet-km-band{stroke:none;fill-opacity:.15}#chartlet-0202987bad590182-m .chartlet-km-mark{stroke-width:1.5}#chartlet-0202987bad590182-m .chartlet-km-swatch{stroke:none}#chartlet-0202987bad590182-m .chartlet-legend{font-size:12px;fill:var(--chartlet-muted)}#chartlet-0202987bad590182-m .chartlet-title-small{font-size:18px}</style><rect x="82.28" y="5" width="14" height="3" class="chartlet-km-swatch chartlet-km-1"/><text x="102.28" y="11" text-anchor="start" class="chartlet-legend">Standard</text><rect x="177.36" y="5" width="14" height="3" class="chartlet-km-swatch chartlet-km-2"/><text x="197.36" y="11" text-anchor="start" class="chartlet-legend">New drug</text><line x1="82.28" y1="440" x2="368" y2="440" class="chartlet-zero"/><text x="72.28" y="444" text-anchor="end" class="chartlet-tick">0%</text><line x1="82.28" y1="357.2" x2="368" y2="357.2" class="chartlet-grid"/><text x="72.28" y="361.2" text-anchor="end" class="chartlet-tick">20%</text><line x1="82.28" y1="274.4" x2="368" y2="274.4" class="chartlet-grid"/><text x="72.28" y="278.4" text-anchor="end" class="chartlet-tick">40%</text><line x1="82.28" y1="191.6" x2="368" y2="191.6" class="chartlet-grid"/><text x="72.28" y="195.6" text-anchor="end" class="chartlet-tick">60%</text><line x1="82.28" y1="108.8" x2="368" y2="108.8" class="chartlet-grid"/><text x="72.28" y="112.8" text-anchor="end" class="chartlet-tick">80%</text><line x1="82.28" y1="26" x2="368" y2="26" class="chartlet-grid"/><text x="72.28" y="30" text-anchor="end" class="chartlet-tick">100%</text><text x="82.28" y="462" text-anchor="middle" class="chartlet-tick">0</text><text x="177.52" y="462" text-anchor="middle" class="chartlet-tick">10</text><text x="272.76" y="462" text-anchor="middle" class="chartlet-tick">20</text><text x="368" y="462" text-anchor="middle" class="chartlet-tick">30</text><text x="225.14" y="482" text-anchor="middle" class="chartlet-axis-title">Months since randomization</text><polyline points="82.28,26 82.28,26 82.28,27.474 86.09,27.474 86.09,31.276 92.756,31.276 92.756,36.368 94.661,36.368 94.661,48.735 95.614,48.735 95.614,55.808 96.566,55.808 96.566,63.278 98.471,63.278 98.471,71.083 99.423,71.083 99.423,79.181 101.328,79.181 101.328,87.755 109.9,87.755 109.9,96.831 110.852,96.831 110.852,115.751 114.662,115.751 114.662,125.563 132.757,125.563 132.757,135.594 159.424,135.594 159.424,146.202 162.282,146.202 162.282,157.919 174.663,157.919 174.663,169.959 176.568,169.959 176.568,182.316 180.377,182.316 180.377,194.989 191.806,194.989 191.806,207.978 214.664,207.978 214.664,223.871 224.188,223.871 224.188,243.1 367.048,243.1 367.048,383.15 224.188,383.15 224.188,359.672 214.664,359.672 214.664,342.367 191.806,342.367 191.806,330.261 180.377,330.261 180.377,317.735 176.568,317.735 176.568,304.778 174.663,304.778 174.663,291.369 162.282,291.369 162.282,277.475 159.424,277.475 159.424,265.253 132.757,265.253 132.757,253.58 114.662,253.58 114.662,241.65 110.852,241.65 110.852,216.94 109.9,216.94 109.9,204.101 101.328,204.101 101.328,191.645 99.423,191.645 99.423,179.554 98.471,179.554 98.471,167.177 96.566,167.177 96.566,154.476 95.614,154.476 95.614,141.399 94.661,141.399 94.661,115.686 92.756,115.686 92.756,102.78 86.09,102.78 86.09,94.111 82.28,94.111 82.28,26 82.28,26" class="chartlet-km-band chartlet-km-1"/><polyline points="82.28,26 82.28,26 82.28,36.35 86.09,36.35 86.09,46.7 92.756,46.7 92.756,57.33 94.661,57.33 94.661,78.589 95.614,78.589 95.614,89.541 96.566,89.541 96.566,100.493 98.471,100.493 98.471,111.445 99.423,111.445 99.423,122.397 101.328,122.397 101.328,133.74 109.9,133.74 109.9,145.519 110.852,145.519 110.852,169.077 114.662,169.077 114.662,180.857 132.757,180.857 132.757,192.636 159.424,192.636 159.424,205.004 162.282,205.004 162.282,218.827 174.663,218.827 174.663,232.651 176.568,232.651 176.568,246.474 180.377,246.474 180.377,260.297 191.806,260.297 191.806,274.12 214.664,274.12 214.664,292.552 224.188,292.552 224.188,317.126 367.048,317.126" class="chartlet-km-line chartlet-km-1"><title>Standard: 40 observations, 23 events, median 9.9, 29.7% at the end.</title></polyline><line x1="87.042" y1="42.7" x2="87.042" y2="50.7" class="chartlet-km-mark chartlet-km-1"/><line x1="94.661" y1="74.589" x2="94.661" y2="82.589" class="chartlet-km-mark chartlet-km-1"/><line x1="99.423" y1="118.397" x2="99.423" y2="126.397" class="chartlet-km-mark chartlet-km-1"/><line x1="102.28" y1="129.74" x2="102.28" y2="137.74" class="chartlet-km-mark chartlet-km-1"/><line x1="132.757" y1="188.636" x2="132.757" y2="196.636" class="chartlet-km-mark chartlet-km-1"/><line x1="159.424" y1="201.004" x2="159.424" y2="209.004" class="chartlet-km-mark chartlet-km-1"/><line x1="161.329" y1="201.004" x2="161.329" y2="209.004" class="chartlet-km-mark chartlet-km-1"/><line x1="192.758" y1="270.12" x2="192.758" y2="278.12" class="chartlet-km-mark chartlet-km-1"/><line x1="195.616" y1="270.12" x2="195.616" y2="278.12" class="chartlet-km-mark chartlet-km-1"/><line x1="196.568" y1="270.12" x2="196.568" y2="278.12" class="chartlet-km-mark chartlet-km-1"/><line x1="215.616" y1="288.552" x2="215.616" y2="296.552" class="chartlet-km-mark chartlet-km-1"/><line x1="216.568" y1="288.552" x2="216.568" y2="296.552" class="chartlet-km-mark chartlet-km-1"/><line x1="284.189" y1="313.126" x2="284.189" y2="321.126" class="chartlet-km-mark chartlet-km-1"/><line x1="298.475" y1="313.126" x2="298.475" y2="321.126" class="chartlet-km-mark chartlet-km-1"/><line x1="324.19" y1="313.126" x2="324.19" y2="321.126" class="chartlet-km-mark chartlet-km-1"/><line x1="357.524" y1="313.126" x2="357.524" y2="321.126" class="chartlet-km-mark chartlet-km-1"/><line x1="367.048" y1="313.126" x2="367.048" y2="321.126" class="chartlet-km-mark chartlet-km-1"/><polyline points="82.28,26 86.09,26 86.09,27.474 87.042,27.474 87.042,31.276 87.994,31.276 87.994,36.277 91.804,36.277 91.804,42.044 100.376,42.044 100.376,48.623 106.09,48.623 106.09,55.841 107.995,55.841 107.995,63.484 129.9,63.484 129.9,81.106 136.567,81.106 136.567,90.477 141.329,90.477 141.329,111.438 149.9,111.438 149.9,122.451 150.853,122.451 150.853,133.787 155.615,133.787 155.615,145.434 171.806,145.434 171.806,158.443 193.711,158.443 193.711,172.542 197.52,172.542 197.52,187.169 285.141,187.169 285.141,207.571 293.713,207.571 293.713,231.774 357.524,231.774 357.524,392.001 293.713,392.001 293.713,365.168 285.141,365.168 285.141,331.061 197.52,331.061 197.52,315.44 193.711,315.44 193.711,298.977 171.806,298.977 171.806,283.471 155.615,283.471 155.615,270.059 150.853,270.059 150.853,256.235 149.9,256.235 149.9,241.959 141.329,241.959 141.329,211.784 136.567,211.784 136.567,197.788 129.9,197.788 129.9,168.099 107.995,168.099 107.995,154.789 106.09,154.789 106.09,140.977 100.376,140.977 100.376,127.373 91.804,127.373 91.804,114.922 87.994,114.922 87.994,102.78 87.042,102.78 87.042,94.111 86.09,94.111 86.09,26 82.28,26" class="chartlet-km-band chartlet-km-2"/><polyline points="82.28,26 86.09,26 86.09,36.35 87.042,36.35 87.042,46.7 87.994,46.7 87.994,57.05 91.804,57.05 91.804,67.4 100.376,67.4 100.376,78.359 106.09,78.359 106.09,89.66 107.995,89.66 107.995,100.961 129.9,100.961 129.9,126.075 136.567,126.075 136.567,138.632 141.329,138.632 141.329,166.029 149.9,166.029 149.9,179.728 150.853,179.728 150.853,193.426 155.615,193.426 155.615,207.125 171.806,207.125 171.806,222.65 193.711,222.65 193.711,239.369 197.52,239.369 197.52,256.088 285.141,256.088 285.141,286.74 293.713,286.74 293.713,317.392 357.524,317.392" class="chartlet-km-line chartlet-km-2"><title>New drug: 40 observations, 20 events, median 11.7, 29.6% at the end.</title></polyline><line x1="92.756" y1="63.4" x2="92.756" y2="71.4" class="chartlet-km-mark chartlet-km-2"/><line x1="99.423" y1="63.4" x2="99.423" y2="71.4" class="chartlet-km-mark chartlet-km-2"/><line x1="103.233" y1="74.359" x2="103.233" y2="82.359" class="chartlet-km-mark chartlet-km-2"/><line x1="111.804" y1="96.961" x2="111.804" y2="104.961" class="chartlet-km-mark chartlet-km-2"/><line x1="119.424" y1="96.961" x2="119.424" y2="104.961" class="chartlet-km-mark chartlet-km-2"/><line x1="126.09" y1="96.961" x2="126.09" y2="104.961" class="chartlet-km-mark chartlet-km-2"/><line x1="136.567" y1="134.632" x2="136.567" y2="142.632" class="chartlet-km-mark chartlet-km-2"/><line x1="140.376" y1="134.632" x2="140.376" y2="142.632" class="chartlet-km-mark chartlet-km-2"/><line x1="162.282" y1="203.125" x2="162.282" y2="211.125" class="chartlet-km-mark chartlet-km-2"/><line x1="166.091" y1="203.125" x2="166.091" y2="211.125" class="chartlet-km-mark chartlet-km-2"/><line x1="176.568" y1="218.65" x2="176.568" y2="226.65" class="chartlet-km-mark chartlet-km-2"/><line x1="220.378" y1="252.088" x2="220.378" y2="260.088" class="chartlet-km-mark chartlet-km-2"/><line x1="248.95" y1="252.088" x2="248.95" y2="260.088" class="chartlet-km-mark chartlet-km-2"/><line x1="254.664" y1="252.088" x2="254.664" y2="260.088" class="chartlet-km-mark chartlet-km-2"/><line x1="266.093" y1="252.088" x2="266.093" y2="260.088" class="chartlet-km-mark chartlet-km-2"/><line x1="269.903" y1="252.088" x2="269.903" y2="260.088" class="chartlet-km-mark chartlet-km-2"/><line x1="311.808" y1="313.392" x2="311.808" y2="321.392" class="chartlet-km-mark chartlet-km-2"/><line x1="315.618" y1="313.392" x2="315.618" y2="321.392" class="chartlet-km-mark chartlet-km-2"/><line x1="350.857" y1="313.392" x2="350.857" y2="321.392" class="chartlet-km-mark chartlet-km-2"/><line x1="357.524" y1="313.392" x2="357.524" y2="321.392" class="chartlet-km-mark chartlet-km-2"/><text x="362" y="44" text-anchor="end" class="chartlet-legend">Log-rank p = 0.444</text><text x="82.28" y="506" text-anchor="start" class="chartlet-axis-title">Number at risk</text><text x="60.28" y="524" text-anchor="end" class="chartlet-tick">Standard</text><text x="82.28" y="524" text-anchor="middle" class="chartlet-tick">40</text><text x="177.52" y="524" text-anchor="middle" class="chartlet-tick">14</text><text x="272.76" y="524" text-anchor="middle" class="chartlet-tick">5</text><text x="368" y="524" text-anchor="middle" class="chartlet-tick">0</text><text x="60.28" y="542" text-anchor="end" class="chartlet-tick">New drug</text><text x="82.28" y="542" text-anchor="middle" class="chartlet-tick">40</text><text x="177.52" y="542" text-anchor="middle" class="chartlet-tick">13</text><text x="272.76" y="542" text-anchor="middle" class="chartlet-tick">6</text><text x="368" y="542" text-anchor="middle" class="chartlet-tick">0</text></svg></div><p class="chartlet-source">Source: Illustrative trial data, 40 patients per arm</p><details class="chartlet-data" data-viz-text><summary>Show chart data</summary><table><caption>Data for Overall survival by treatment</caption><thead><tr><th scope="col">Group</th><th scope="col">Time</th><th scope="col">Survival</th><th scope="col">lower</th><th scope="col">upper</th><th scope="col">At risk</th></tr></thead><tbody><tr><th scope="row">Standard</th><td>0</td><td>97.5%</td><td>83.5%</td><td>99.6%</td><td>40</td></tr><tr><th scope="row">Standard</th><td>10</td><td>46.7%</td><td>29.5%</td><td>62.2%</td><td>14</td></tr><tr><th scope="row">Standard</th><td>20</td><td>29.7%</td><td>13.7%</td><td>47.6%</td><td>5</td></tr><tr><th scope="row">Standard</th><td>30</td><td>29.7%</td><td>13.7%</td><td>47.6%</td><td>0</td></tr><tr><th scope="row">New drug</th><td>0</td><td>100.0%</td><td>100.0%</td><td>100.0%</td><td>40</td></tr><tr><th scope="row">New drug</th><td>10</td><td>52.5%</td><td>34.1%</td><td>68.0%</td><td>13</td></tr><tr><th scope="row">New drug</th><td>20</td><td>44.4%</td><td>26.3%</td><td>61.1%</td><td>6</td></tr><tr><th scope="row">New drug</th><td>30</td><td>29.6%</td><td>11.6%</td><td>50.3%</td><td>0</td></tr></tbody></table></details></figure></div>