Home / Business Ready Pages / Analytics Dashboard

Analytics Dashboard CSS Template, Free with Live Demo

Free analytics dashboard template. KPI cards, an SVG line chart with a date range switch, a donut chart and a top pages table with bars. Live demo. The example is Tally, a web analytics tool.

Open live demoDownload HTML fileView code on GitHub
Analytics Dashboard CSS template example: Tally, a web analytics tool

What is analytics dashboard?

An analytics dashboard turns numbers into a quick picture. Four headline numbers, a chart of the trend compared with last period, where visitors came from and which pages they read.

Charts are made without a library. The line chart is an SVG path built from the data, with a soft gradient under it. The donut is a conic gradient with a hole cut by a mask. Switching the date range redraws everything.

Good for

  • Analytics and reporting tools
  • Shop and SaaS admin panels
  • Client reports
  • Internal KPI screens

What you get in this template

The key CSS

This is the part that makes the analytics dashboard look work. Copy it into your own project.

.ring {
  width: 140px; height: 140px; border-radius: 50%;
  background: conic-gradient(#2f6fed 0 52%, #18a57b 52% 76%, #f2a33a 76% 91%, #d94f7a 91%);
  mask: radial-gradient(circle, transparent 42px, #000 43px);
}
.lineA { fill: none; stroke: #2f6fed; stroke-width: 2.5; }
.bar::before { width: var(--p); background: #eef3fe; }

How to use it

  1. Click Download HTML file above.
  2. Open the file in any code editor, like VS Code.
  3. Change the text, colors and links to match your project. Colors are at the top of the style tag.
  4. Upload it to any host, such as GitHub Pages, Netlify or your own server. It is one file with no build step.

Questions people ask

How do you draw a line chart without a library?

Turn each data point into x and y positions and join them into an SVG path with M and L commands. Close the path along the bottom for the filled area.

How do you make a donut chart in CSS?

Use conic-gradient with a slice for each value, then cut out the middle with a radial-gradient mask.

How do I use my own data?

Replace the sample series in the script with your numbers or with data from your API.

More Business Ready Pages designs