Teams / SharePoint · Community sample

List Dashboard

One versatile web part that turns any SharePoint list or library into a dashboard - stat, KPI tiles, bar, column, pie, donut, line, area, or table - with colourblind-safe palettes, status-vs-target colouring, and number formatting, and no Power BI or external chart library.

Teams tabWeb partReactSPFx 1.21.1
A full dashboard page composed of several List Dashboard web parts - KPI tiles, donut, bar, column, pie, line, area, and a table - from one SharePoint list

The idea behind the sample

List Dashboard is a single, versatile web part that visualizes any SharePoint list or library without Power BI. Pick a list, choose a display type, and it renders: a single Stat number, KPI Tiles by category, Bar or Column charts, Pie or Donut, a Line or Area trend over a date column (bucketed by day, week, or month), or a sortable Table.

Numeric columns can be aggregated (count, sum, average, min, max) and grouped by a category column. Colour modes include a colourblind-safe categorical palette (Vibrant, Soft, Mild, Deep), a value gradient, and status-vs-target colouring (green/amber/red against thresholds, each paired with a glyph so colour is never the only signal). Values format as compact, plain number, currency, or percent of total. Because it is one configurable web part, you place it several times on a page to compose a full dashboard from your own lists.

Every visual is pure CSS or inline SVG and theme-aware, so there is no external charting dependency and no Power BI licence required. It reads each list's real columns, expands person/lookup fields correctly, ignores fields not on the bound list, and supports full-width sections. It ships with built-in demo data so every display type renders the moment you drop it on a page, before you bind a list.

Make it your own

Start with the author's setup instructions, explore the implementation, and adapt the pattern to your environment. Sample code stays in its original repository, together with its requirements, license and contribution history.

Read the source documentation

A closer look

Keep exploring

Keep the ideas flowing

Back to all possibilities
Microsoft 365 and Power Platform Community Contributor badge

Sharing is caring.

Share what you know.

Contribute a sample, improve the docs or help someone get started. Sample contributors can opt in to the PnP Recognition Program and share their community contributor badge.

Have something to show? Sign up for a community call demo. Fill in the form and we'll arrange a slot based on your availability.