ScottPlot is a free and open-source plotting library for .NET. This package can be used to create static plots, and user controls for displaying plots interactively are available as separate NuGet packages.
$ dotnet add package ScottPlotScottPlot is a free and open-source plotting library for .NET that makes it easy to interactively display large datasets.
The ScottPlot Cookbook demonstrates how to create line plots, bar charts, pie graphs, scatter plots, and more with just a few lines of code.
double[] dataX = { 1, 2, 3, 4, 5 };
double[] dataY = { 1, 4, 9, 16, 25 };
ScottPlot.Plot myPlot = new();
myPlot.Add.Scatter(dataX, dataY);
myPlot.SavePng("quickstart.png", 400, 300);

Install the ScottPlot.WinForms NuGet package, drop a FormsPlot from the toolbox onto your form, then add the following to your start-up sequence:
double[] dataX = { 1, 2, 3, 4, 5 };
double[] dataY = { 1, 4, 9, 16, 25 };
formsPlot1.Plot.Add.Scatter(dataX, dataY);
formsPlot1.Refresh();

The ScottPlot Demo allows you to run these examples interactively.
The ScottPlot Cookbook demonstrates how to create line plots, bar charts, pie graphs, scatter plots, and more with just a few lines of code.
ScottPlot does not require a GUI so it can be used to create plots in cloud applications. The images below are regenerated hourly using Azure Functions to update star metrics from the GitHub API and download count from the NuGet API. The data is plotted with ScottPlot and saved as an image file in blob storage. Try it out!
Try it out! Give us a star and come back in an hour and your name will appear here:
ScottPlot 5.0 is the newest version of ScottPlot. ScottPlot 5 is actively developed and supports all operating systems. The API is similar but not identical to ScottPlot 4. See the What's New in ScottPlot 5.0 page for details.
ScottPlot 4.1 is a stable version of ScottPlot which continues to be maintained but no longer receives major new features. ScottPlot 4 supported all operating systems through .NET 6, but after .NET 7 it can only be used in projects that target Windows.