abs_dev.estimate * 1e-6;

              // Calculate previous value from change data if available
              let previousValue = null;
              let changeEstimate = null; // Initialize changeEstimate
              if (d.change && d.change.mean && d.change.mean.estimate !== undefined) {
                changeEstimate = d.change.mean.estimate; // Store the estimate
                // If change is negative, previous was higher; if positive, previous was lower
                previousValue = meanValue /