TNS
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
NEW! Try Stackie AI
AI Operations / Databases / Python

Time Series Forecasting: An Open Source, No-Code Solution

Try this tutorial to predict and visualize daily Wikipedia data using InfluxDB’s Python Processing Engine and Facebook’s Prophet library.
May 27th, 2025 8:00am by
Featued image for: Time Series Forecasting: An Open Source, No-Code Solution
Featured image by Billion Photos on Shutterstock.

Everything around us produces data, so forecasting future trends from historical data is no longer a luxury; it’s a necessity. But what if you could implement sophisticated time series forecasting without writing a single line of code? I’ll show you how with an example using two open source tools: InfluxDB 3 Core’s Python Processing Engine and Facebook’s Prophet library.

Revolutionizing Forecasting Implementation

Traditional time series forecasting typically requires extensive coding expertise and days of development. InfluxDB 3 Core’s Python Processing Engine combined with large language models (LLMs) and libraries shatters this paradigm. What once demanded deep technical knowledge and significant time investment can now be accomplished in hours, making advanced forecasting accessible to those with even basic Python and time series understanding.

The most compelling aspect of this transformation? The speed at which complex systems can be built using LLMs. By simply providing an LLM with InfluxDB 3 documentation and Facebook Prophet’s quick start guide, you can generate functional plugin code, connect an entire pipeline and receive optimization suggestions — all without manual coding.

Why Use a Time Series Database?

Before diving into the implementation, let’s address a fundamental question: why use a specialized time series database like InfluxDB instead of a general-purpose or relational database?

Optimized for Time-Stamped Data

Time series databases are architected specifically for handling chronological data. Unlike traditional databases, they’re optimized for time-based queries and analytics, making operations like finding rates of change, identifying trends or calculating moving averages substantially more efficient.

Superior Data Compression

Time series data often contains millions or billions of data points. Time series databases implement specialized compression algorithms that dramatically reduce storage requirements without sacrificing query performance.

Built-in Time-Centric Functions

Functions like downsampling, interpolation and window functions are standard in time series databases, eliminating the need for complex custom code. This native support accelerates development and improves reliability.

Scalable Performance

As your monitoring or Internet of Things (IoT) application grows, so does your data volume. Time series databases like InfluxDB scale horizontally to handle a massive influx of time-stamped data without performance degradation.

Schema Flexibility

Time series workloads often require adapting to changing measurement structures. InfluxDB’s flexible schema design accommodates evolving data models without painful migrations.

With these advantages in mind, a time series database like InfluxDB becomes the natural choice for a forecasting pipeline.

The Forecasting Challenge

This tutorial’s objective is straightforward yet powerful: predict daily page views for Wikipedia’s article on Peyton Manning for an entire year. We’ll start with historical data and culminate with an interactive Plotly visualization, all within the InfluxDB ecosystem. To replicate this project, download InfluxDB 3 Core or Enterprise.

This walkthrough covers:

  • How I leveraged ChatGPT-4o to build this pipeline.
  • Required setup and dependencies.
  • Creating essential InfluxDB 3 resources.
  • Data ingestion, forecast generation and visualization.

The Pipeline Architecture

This solution consists of three purpose-built plugins working in harmony:

  1. load_peyton (load_peyton_data.py): HTTP-triggered plugin that imports Wikipedia pageview data from a CSV and populates the peyton_views table.
  2. peyton_forecast (forecast_peyton.py): Scheduled plugin running daily to query peyton_views, train a Prophet model and write a comprehensive 365-day forecast to prophet_forecast.
  3. forecast_plot (plot_forecast_http.py): HTTP-triggered plugin that retrieves both historical and forecasted data, merges them and delivers an interactive Plotly visualization as HTML.
Historical pageview data (blue) and forecasted pageview data (green) generated from this tutorial. Access via http://localhost:8181/api/v3/engine/plot_forecast.

Historical pageview data (blue) and forecasted pageview data (green) generated from this tutorial. Access via http://localhost:8181/api/v3/engine/plot_forecast.

From Concept to Implementation With AI

Rather than traditional coding, I adopted a prompt engineering approach with ChatGPT-4o. After providing InfluxDB 3’s Processing Engine documentation and Prophet’s quick start guide, I used progressive natural language prompts:

  1. Initial concept: “Can you write a plugin for InfluxDB 3 that uses Facebook Prophet to forecast time series data?”
  2. Data ingest: “Create a plugin that loads historical data from a public CSV (like the Peyton Manning Wikipedia views) and writes it to InfluxDB.”
  3. Forecasting logic: “Now, write a scheduled plugin that queries that table, fits a Prophet model and writes the forecast to another table. Make sure the logic writes all forecast rows.”
  4. Visualization: “Can you build a third plugin that reads both the historical and forecasted data, plots it using Plotly and returns the result over HTTP as an HTML page?”

This iterative process transformed what would typically be hours of coding into a conversation about intent and functionality. The InfluxDB Processing Engine’s test command proved invaluable for validation, creating a tight feedback loop that significantly accelerated development.

Environment Setup

You can run this example locally or containerized. Both InfluxDB 3 Core and Enterprise support this workflow, but I’ll focus on Core (the open source version) using Docker for simplicity. If you’re looking for high availability, scalability and security, I recommend using InfluxDB 3 Enterprise instead.

After downloading the repository, save the files to your plugin directory and execute:


This command launches a temporary InfluxDB 3 Core container with your local directories mounted for data persistence and plugin access, exposing port 8181 for local interaction.

Implementation Steps

1. Install the Dependencies

First, install the required packages:

2. Create the Database

Set up a dedicated database for the forecast project:

3. Load Historical Data

Create and trigger the data loading plugin:


Execute the plugin:


Successful execution displays:

4. Generate Forecasts

Set up the forecasting plugin:


While this is configured for minute intervals for demonstration purposes, production implementations typically run daily. After successful execution, you’ll see:


To prevent redundant forecasting, disable the trigger:

5. Visualize Results

Create the visualization plugin:


Access your interactive visualization at http://localhost:8181/api/v3/engine/plot_forecast.

Beyond the Basics: Production Considerations

While this example demonstrates foundational concepts, production implementations could incorporate:

  • Pretrained models from Hugging Face for faster inference.
  • Forecast accuracy monitoring to detect model drift.
  • Automated retraining when performance declines.
  • Integration with InfluxDB 3’s alerting capabilities for anomaly detection.

These enhancements create intelligent, self-optimizing time series pipelines tailored to specific business needs.

Resources for Further Exploration

Explore these resources to deepen your understanding:

For alert-focused implementations:

Created with Sketch.
TNS owner Insight Partners is an investor in: Docker, Real.
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.