Bar Graph DI

Master Bar Graphs. Covers Clustered, Stacked, Deviation (Profit/Loss), and Target vs Actual models.

Model 1: The 'Visual Gap' Method

      <p><strong>Scenario:</strong> Comparing heights of two bars (e.g., Sales A vs Sales B).</p>
      <p><strong>The Strategy:</strong> Instead of reading values (45 and 32) and subtracting (45-32=13), <span class="text-primary-600 font-bold">Look at the Gap</span>.</p>
      <p>Map the gap directly to the grid lines. If one grid unit = 5, and gap is roughly 2.5 units, difference is ~12.5.</p>
    

Model 2: Stacked Bar Decoding

      <p><strong>Scenario:</strong> A single bar represents Total (800). It's split into color A (bottom) and color B (top).</p>
      <p><strong>The Trap:</strong> Reading the top value of B as B's value.</p>
      <p><strong>The Rule:</strong> <br>
      Bottom Part (A) = Reading corresponding to its top.<br>
      Top Part (B) = <span class="text-red-600 font-bold">Top Value - Bottom Value</span>.</p>
      <div class="bg-primary-50 p-2 rounded text-sm">Example: Bar goes 0 to 60 (Blue), 60 to 100 (Red). <br>Blue = 60. Red = 100 - 60 = 40.</div>
    

Model 3: Deviation Bars (Profit/Loss)

      <p><strong>Scenario:</strong> Bars can go Up (Positive) or Down (Negative) from the X-axis.</p>
      <p><strong>Handling:</strong> Treat X-axis as Zero. <br>
      Up = Profit/Surplus (+). <br>
      Down = Loss/Deficit (-). <br>
      <strong>Total Net:</strong> Sum all (+), Sum all (-), then combine.</p>