Data Interpolation

Input Data (JSON Array)

Interpolation Configuration

Example Input

[
  {
    "date": "2023-01-01",
    "temperature": 20.5
  },
  {
    "date": "2023-01-02",
    "temperature": null
  },
  {
    "date": "2023-01-03",
    "temperature": 22.8
  }
]

Interpolation Methods:

  • Linear: Simple straight-line interpolation between points
  • Polynomial: Fit a polynomial curve through the points
  • Cubic Spline: Smooth curve that preserves continuity
  • Nearest Neighbor: Use the closest known value