Building Your First Pareto Chart in FlowFuse for Production Data

Transform Raw Production Data into Actionable Insights with a Visual Pareto Analysis

Sumit Shinde
Back to Blog Posts
Image with logo and the slogan: Elevate Node-RED with Flowfuse

In the first part of this series, we explored the foundational principles of the Pareto Chart, understanding how this powerful tool can help manufacturing teams quickly identify and focus on the "vital few" problems that have the biggest impact. We learned that by combining a bar graph and a cumulative percentage line, a Pareto Chart provides a clear visual roadmap to prioritize quality issues, equipment downtime, or other key performance indicators.

Now, it’s time to move from theory to practice. This guide will show you how to build your first Pareto Chart in FlowFuse, a low-code platform that simplifies industrial data workflows. You will learn how to connect to your production data, calculate frequencies and format data, and visualize the results in a chart that helps your team make data-driven decisions.

Pareto Chart showing defect categories in manufacturing with bars for scratches, cracks, color issues, and other defects, alongside a cumulative percentage line. Pareto Chart showing defect categories in manufacturing with bars for scratches, cracks, color issues, and other defects, alongside a cumulative percentage line.

Getting Started

To begin building your first Pareto Chart, make sure a FlowFuse Node-RED instance is running on your local machine or in the cloud. If you do not have an account yet, you can sign up for a 14-day free trial.

Step 1: Connect to Your Data Source

The first step in creating a Pareto Chart is accessing the data you want to analyze. In industrial environments, machine or process data is commonly collected via industrial protocols such as OPC-UA, MQTT, or direct database queries. FlowFuse supports nearly all industrial protocols and databases, making it easy to connect to your existing systems.

In FlowFuse:

  1. Drag the appropriate input node into your flow (e.g., an OPC-UA Read node).
  2. Enter the connection details for your industrial system.
  3. Test the connection to confirm that live data is flowing correctly.

If a live PLC or factory dataset is not available, you can use a simple Inject node in FlowFuse to simulate production data.

Step 2: Format and Aggregate the Data

Once data is flowing, the next step is to organize it into types or categories and count how often each occurs. A Pareto Chart is most useful when you can clearly see, for example, defect data like:

“Scratch on Surface – 20 occurrences, Misaligned Parts – 10 occurrences, Loose Screws – 5 occurrences.”

In FlowFuse, this can be done in three steps:

  1. Format the data – Use a JSON, CSV, or Change node to clean or convert incoming data if needed.

  2. Aggregate in a Function node – Map each data point to a type (e.g., machine type, process step, defect category) and keep a running count of occurrences.

    Tip: You do not need to know JavaScript. Simply describe the desired outcome and provide a sample dataset—the FlowFuse AI Assistant will generate the Function node for you. Learn more.

  3. Sort the results – Use a Sort node to arrange categories so the most frequent appear first.

At the end of this step, your data should be transformed into a structure like this, which is the required format for the Pareto Chart in Step 3:

[
{ "type": "Paint Defect", "count": 8 },
{ "type": "Faulty Electronics", "count": 6 },
{ "type": "Scratch on Surface", "count": 5 },
{ "type": "Misaligned Parts", "count": 3 },
{ "type": "Loose Screws", "count": 2 },
{ "type": "Cracked Housing", "count": 1 }
]

Step 3: Visualizing the Chart

Before proceeding, ensure that you have installed the @flowfuse/node-red-dashboard node. This library provides the essential user interface components needed to create a real-time dashboard in Node-RED.

  1. Open the FlowFuse Editor and click on the hamburger menu (☰) in the top-right corner.
  2. Select Manage palette.
  3. Navigate to the Install tab.
  4. Search for @flowfuse/node-red-dashboard and click Install.

After installation, new UI nodes—such as UI Chart, UI Gauge, UI Template, and others—will appear in your palette. These nodes provide the building blocks to create interactive dashboards and fully customized components for industrial applications, including monitoring, analytics, and control systems.

While the standard UI Chart node supports most common chart types, it does not include a native Pareto chart. To implement a Pareto chart, the UI Template node can be used, allowing you to embed custom Vue components for fully tailored visualizations.

Below is an example of a Pareto Chart built using the UI Template node. You can copy and import this flow directly into your Node-RED editor to start using it immediately.

Connecting Your Real Production Data

  1. Ensure your upstream data flow (from OPC-UA, MQTT, or database nodes) is cleaned and aggregated into the JSON format described in Step 2.
  2. Connect the output of that flow to the Pareto Chart (UI Template) node you imported, then deploy the flow.
  3. Whenever new data arrives, the chart will automatically update, displaying both the bars (frequency) and the cumulative percentage line.

To view the dashboard, click the Open Dashboard button in the top-right corner of the Dashboard 2.0 sidebar. The Pareto Chart will appear, complete with bars, the cumulative line, and the 80% threshold.

Pareto Chart showing defect categories in manufacturing with bars for scratches, cracks, color issues, and other defects, alongside a cumulative percentage line. Pareto Chart showing defect categories in manufacturing with bars for scratches, cracks, color issues, and other defects, alongside a cumulative percentage line.

The chart visualizes defect types using bars. The cumulative line and the 80% threshold indicate the cutoff point: bars to the left of this intersection represent the vital few defects that contribute most to the total—and these are the areas where you should focus your improvement efforts.

Pareto Chart showing defect categories in manufacturing. The bars on the left, highlighted with a red box, represent the vital few defects Pareto Chart showing defect categories in manufacturing. The bars on the left, highlighted with a red box, represent the vital few defects

Takeaways

By following the steps outlined above, you have successfully built a Pareto Chart in FlowFuse that transforms raw production data into clear, actionable insights. This visualization helps manufacturing teams focus their limited time and resources on the problems that matter most.

Why This Matters for Your Business

The real power of a Pareto Chart isn’t just in identifying problems—it’s in changing how your team makes decisions. Instead of trying to fix everything at once or relying on gut feelings, you now have data-driven clarity on where to focus. This translates into:

  • Less firefighting, more strategic improvement: Teams can stop chasing every small issue and concentrate on the critical few that truly impact production.
  • Faster problem resolution: When everyone can see which issues dominate, alignment happens quickly and solutions get implemented faster.
  • Better conversations with management: Visual data makes it easier to justify resource allocation and demonstrate the impact of improvement initiatives.
  • Continuous learning: As the top issues are resolved, new patterns emerge, creating a cycle of ongoing improvement.

Building on Your Success

With your first Pareto Chart operational, you’ve established a foundation for data-driven decision-making. The same approach can be applied to other areas of operations:

  • Track equipment downtime reasons to optimize maintenance schedules.
  • Analyze customer feedback to prioritize product improvements.
  • Monitor supplier performance to strengthen the supply chain.
  • Identify training gaps by analyzing operator errors.

FlowFuse makes it simple to replicate this success across your organization. The same flow can be deployed to multiple lines, shared with other teams, and adapted for different use cases—while maintaining security and control through enterprise-grade features.

Ready to see how FlowFuse can help your team make better decisions with production data? Book a demo to discover how manufacturers are using visual analytics to drive continuous improvement and operational excellence.

About the Author

Sumit Shinde

Technical Writer

Sumit is a Technical Writer at FlowFuse who helps engineers adopt Node-RED for industrial automation projects. He has authored over 100 articles covering industrial protocols (OPC UA, MQTT, Modbus), Unified Namespace architectures, and practical manufacturing solutions. Through his writing, he makes complex industrial concepts accessible, helping teams connect legacy equipment, build real-time dashboards, and implement Industry 4.0 strategies.