GitHub Repo stars


ScottPlot is a free and open-source plotting library for .NET that makes it easy to interactively display large datasets. Line plots, bar charts, pie graphs, scatter plots, and more can be created with just a few lines of code.


Quickstart pages exist for console applications, Windows Forms, WPF, WinUI, Blazor, and more!

double[] xs = { 1, 2, 3, 4, 5 };
double[] ys = { 1, 4, 9, 16, 25 };
ScottPlot.Plot myPlot = new();
myPlot.Add.Scatter(xs, ys);
myPlot.SavePng("quickstart.png", 400, 300);


The ScottPlot Cookbook demonstrates how to create line plots, bar charts, pie graphs, scatter plots, and more with just a few lines of code.


The ScottPlot Demo is a click-to-run application that provides mouse-interactive versions of every cookbook recipe and demonstrates how to perform advanced interactive customizations.

Plot in the Cloud

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: If you give us a star and come back in an hour and your name will appear in the graph below!