title: cell_spec for conditional cells
body: <p>I have a table currently looking like this:</p>
  <p><a href="https://i.stack.imgur.com/462KV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/462KV.png" alt="current table" /></a></p>
  <p>I want to do a cell_spec that essentially follows:
  if the cell = X &amp; Amount = 5, then background = &quot;yellow&quot;
  if cell = X &amp; Amount = 4, then background = &quot;green&quot;</p>
  <p>etc for all values.</p>
  <p>to look like this:
  <a href="https://i.stack.imgur.com/HZA2r.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HZA2r.png" alt="what I would like" /></a></p>
  <p>I've looked online and can't figure out the function to make this work.</p>