Realsmart Help

← Realsmart Help

Smart Stats

Display scrollable doughnut and pie charts for school statistics on any page.


Overview

Smart Stats lets you create visual stat displays using shortcodes — no external data connection required. You define the stats inline (title, value, percentage) and they render as animated charts.

Ideal for showcasing school achievements, exam results, or any numeric highlights on your website.


Getting Set Up

No admin configuration needed. Add shortcodes directly to your page content.


Features

Wrapper shortcode

[smart_stats id="stats_scroll_area" title="Our School" description="" cutout="80" background_colour="#3E4C59"]
  [smart_stat title="GCSE Pass Rate" value="95" pie_percentage="95" type="doughnut"]
  [smart_stat title="Attendance" value="97" pie_percentage="97" type="doughnut"]
[/smart_stats]

Individual stat shortcode

Parameter What it does Default
title Stat label
value Display value 0
pie_percentage Chart fill percentage 100
type Chart type: doughnut or pie doughnut
background_colour Segment colour false (theme default)
id Element ID

Wrapper parameters

Parameter What it does Default
title Section heading Stats
description Section description Empty
cutout Doughnut hole size 80
background_colour Container background #3E4C59

Tips & Best Practice

  • Update values manually when statistics change — there is no automatic data feed.
  • Use doughnut charts for percentages; pie charts for part-of-whole comparisons.
  • Keep the number of stats manageable — three to five per section works well.

Last updated: 9 July 2026 · Plugin version: 1.0.0

Was this helpful?