Positive / Negative

Bar chart negative

Revenue variance by month

Positive and negative bar chart January: 4.2K; February: -3.8K; March: 5.1K; April: -2.3K; May: 6.7K; June: -1.9K. January: 4.2K Jan February: -3.8K Feb March: 5.1K Mar April: -2.3K Apr May: 6.7K May June: -1.9K Jun
<div style="padding: 1rem; max-width: 620px;">
  <div data-exo="card">
    <div data-exo="card-header">
      <h3 data-exo="card-title">Bar chart negative</h3>
      <p style="margin: 0; color: var(--exo-muted-foreground); font-size: 0.875rem;">
        Revenue variance by month
      </p>
    </div>
    <div data-exo="card-body">
      <.bar_chart_negative
        data={[{"January", 4200}, {"February", -3800}, {"March", 5100}, {"April", -2300}, {"May", 6700}, {"June", -1900}]}
        height={260}
       />
    </div>
  </div>
</div>

Bar chart negative

Revenue variance by month

No variance data
<div style="padding: 1rem; max-width: 620px;">
  <div data-exo="card">
    <div data-exo="card-header">
      <h3 data-exo="card-title">Bar chart negative</h3>
      <p style="margin: 0; color: var(--exo-muted-foreground); font-size: 0.875rem;">
        Revenue variance by month
      </p>
    </div>
    <div data-exo="card-body">
      <.bar_chart_negative data={[]} empty_text="No variance data" height={260} />
    </div>
  </div>
</div>