Retro bar chart windows

Two classic desktop windows of segmented bar charts, each on a dotted pink panel with a black tag, caption and a pair of big stats below.

Open preview
snippet.html145 lines
<section class="rbw">
  <div class="rbw__head">
    <h2 class="rbw__title">Tessel Is The Cheapest Line On Both Charts.</h2>
  </div>

  <div class="rbw__grid">
    <article class="rbw__panel">
      <span class="rbw__tag">Accuracy</span>
      <div class="rbw__stage">
        <div class="rbw__win">
          <div class="rbw__bar">Malformed Output Rate</div>
          <ul class="rbw__rows">
            <li><span class="rbw__name rbw__name--own">Tessel-2.0</span> Halden Labs
              <div class="rbw__track"><i style="width:0.6%"></i><b>0.00%</b></div></li>
            <li><span class="rbw__name rbw__name--a">Orbit-4 Mini</span> Orbit
              <div class="rbw__track"><i style="width:3%"></i><b>0.49%</b></div></li>
            <li><span class="rbw__name rbw__name--a">Orbit-4 Pro</span> Orbit
              <div class="rbw__track"><i style="width:12%"></i><b>1.93%</b></div></li>
            <li><span class="rbw__name rbw__name--b">Marlow Large 3</span> Marlow
              <div class="rbw__track"><i style="width:78%"></i><b>12.6%</b></div></li>
            <li><span class="rbw__name rbw__name--b">Marlow Small 3</span> Marlow
              <div class="rbw__track"><i style="width:23%"></i><b>3.76%</b></div></li>
            <li><span class="rbw__name rbw__name--c">Vega Flash 2</span> Vega
              <div class="rbw__track"><i style="width:15%"></i><b>2.38%</b></div></li>
          </ul>
          <div class="rbw__axis"><span>0%</span><span>5%</span><span>10%</span><span>15%</span></div>
        </div>
      </div>
      <h3 class="rbw__cap">No malformed output</h3>
      <p class="rbw__copy">Each result carries a score, so your code can proceed when it is high and call a person when it is low.</p>
    </article>

    <article class="rbw__panel">
      <span class="rbw__tag">Tessel.Cost</span>
      <div class="rbw__stage">
        <div class="rbw__win">
          <div class="rbw__bar">Price per million tokens [USD]</div>
          <ul class="rbw__rows">
            <li><span class="rbw__name rbw__name--b">Marlow Large 3</span> Marlow
              <div class="rbw__track"><i style="width:78%"></i><b>$10.00</b></div></li>
            <li><span class="rbw__name rbw__name--a">Orbit-4 Pro</span> Orbit
              <div class="rbw__track"><i style="width:31%"></i><b>$4.00</b></div></li>
            <li><span class="rbw__name rbw__name--b">Marlow Small 3</span> Marlow
              <div class="rbw__track"><i style="width:16%"></i><b>$2.00</b></div></li>
            <li><span class="rbw__name rbw__name--c">Vega Flash 2</span> Vega
              <div class="rbw__track"><i style="width:8%"></i><b>$1.00</b></div></li>
            <li><span class="rbw__name rbw__name--a">Orbit-4 Mini</span> Orbit
              <div class="rbw__track"><i style="width:2%"></i><b>$0.20</b></div></li>
            <li><span class="rbw__name rbw__name--own">Tessel</span> Halden Labs
              <div class="rbw__track"><i style="width:0.5%"></i><b>$0.042</b></div></li>
          </ul>
          <div class="rbw__axis"><span>input</span><span>per 1M tokens</span></div>
        </div>
      </div>
      <h3 class="rbw__cap">Priced per row, not per paragraph</h3>
      <p class="rbw__copy">One call costs a tiny fraction of a cent, so you can score every record instead of a sample.</p>
    </article>
  </div>

  <dl class="rbw__stats">
    <div><dt>$42</dt><dd>For a billion input tokens.</dd></div>
    <div><dt>238x</dt><dd>Cheaper input than Marlow Large 3.</dd></div>
  </dl>
</section>

<style>
  .rbw {
    --rbw-bg: #f386a1;
    --rbw-ink: #1e1e1e;
    --rbw-dot: rgba(30, 30, 30, 0.22);
    box-sizing: border-box;
    padding: 64px 100px 88px;
    background: var(--rbw-bg);
    color: var(--rbw-ink);
    font-family: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
  }
  .rbw *, .rbw *::before, .rbw *::after { box-sizing: border-box; }
  .rbw__head { position: relative; padding: 48px 0 48px 100px; margin-bottom: 64px; }
  .rbw__head::before, .rbw__head::after {
    content: ""; position: absolute; width: 10px; height: 10px;
    border: 0 solid var(--rbw-ink);
  }
  .rbw__head::before { top: 0; left: 0; border-width: 1px 0 0 1px; }
  .rbw__head::after { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
  .rbw__title {
    margin: 0; max-width: 1000px;
    font-size: clamp(30px, 4.2vw, 60px); font-weight: 600;
    line-height: 0.95; letter-spacing: -0.05em; color: #3a3a3a;
  }

  .rbw__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .rbw__panel { position: relative; padding: 0 0 18px; border-left: 1px solid var(--rbw-ink); }
  .rbw__tag {
    position: absolute; top: 0; left: 10px; z-index: 1;
    padding: 2px 6px; background: var(--rbw-ink); color: var(--rbw-bg);
    font: 500 14px/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  }
  .rbw__stage {
    margin: 0 10px 0 10px; padding: 64px 24px;
    background-image: radial-gradient(var(--rbw-dot) 1px, transparent 1.2px);
    background-size: 5px 5px;
  }
  .rbw__win {
    background: #fff; border: 1px solid var(--rbw-ink);
    outline: 1px solid #fff; outline-offset: 2px;
    font: 12px/1.3 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  }
  .rbw__bar { background: var(--rbw-ink); color: #fff; padding: 2px 4px; text-transform: none; }
  .rbw__rows { list-style: none; margin: 0; padding: 12px 6px 4px; display: grid; gap: 10px; }
  .rbw__rows li { font-size: 12px; }
  .rbw__name { display: inline-block; padding: 0 3px; margin-right: 4px; color: #fff; }
  .rbw__name--own { background: #2f9e2f; }
  .rbw__name--a { background: #2f6fc0; }
  .rbw__name--b { background: #9a5133; }
  .rbw__name--c { background: #b53a4a; }
  .rbw__track {
    position: relative; height: 18px; margin-top: 2px;
    background:
      linear-gradient(90deg, transparent calc(25% - 1px), #fff calc(25% - 1px) 25%, transparent 25% calc(50% - 1px), #fff calc(50% - 1px) 50%, transparent 50% calc(75% - 1px), #fff calc(75% - 1px) 75%, transparent 75%),
      #dcdcdc;
  }
  .rbw__track i { position: absolute; inset: 0 auto 0 0; background: var(--rbw-ink); min-width: 3px; }
  .rbw__track b { position: absolute; right: 2px; bottom: 0; font-weight: 400; color: var(--rbw-ink); }
  .rbw__axis { display: flex; justify-content: space-between; padding: 4px 6px 6px; color: #555; }

  .rbw__cap { margin: 24px 10px 4px; font-size: 17px; font-weight: 400; letter-spacing: -0.01em; }
  .rbw__copy { margin: 0 10px; max-width: 46ch; font-size: 16px; line-height: 1.3; color: #4a3a3f; }

  .rbw__panel + .rbw__panel { border-left: 1px solid var(--rbw-ink); }

  .rbw__stats { display: flex; gap: 0; margin: 64px 0 0; padding-left: 10px; }
  .rbw__stats div { flex: 0 0 410px; }
  .rbw__stats dt { font-size: 60px; font-weight: 600; letter-spacing: -0.06em; line-height: 1; }
  .rbw__stats dd { margin: 6px 0 0; font-size: 17px; color: #4a3a3f; }

  @media (max-width: 900px) {
    .rbw { padding: 56px 16px; }
    .rbw__head { padding: 28px 0 28px 16px; margin-bottom: 40px; }
    .rbw__grid { grid-template-columns: 1fr; gap: 40px; }
    .rbw__stage { padding: 48px 10px 24px; }
    .rbw__stats { flex-wrap: wrap; gap: 24px; }
    .rbw__stats div { flex: 1 1 160px; }
    .rbw__stats dt { font-size: 44px; }
  }
</style>

Kind
Section
Category
Stats
Added
6 Nov 2026
Canvas
Full width
File
snippet.html
Size
145 lines · 7.1 KB
Inspired by
typesafe.ai
  • pink
  • retro
  • data-viz
  • monospace
  • bar-chart

One file: HTML, a style block and, when needed, a small script. Paste it anywhere. Nothing to install.