Semicircle gauges in WordPress
Three semicircle gauges whose needle swings to the value, with figure, label and source readable as text, in pure CSS.
Here is an excerpt of this component's code in WordPress. The full code is free for members, ready to copy into your project.
This component also comes in
The code in WordPress
<!-- wp:group {"tagName": "section", "className": "sjs", "layout": {"type": "default"}} -->
<section class="wp-block-group sjs"><!-- wp:heading {"level": 2, "className": "sjs-title", "anchor": "sjs-titre"} -->
<h2 class="wp-block-heading sjs-title" id="sjs-titre">Plomberie Garnier, nos engagements tenus</h2>
<!-- /wp:heading -->
<!-- wp:html -->
<ul class="sjs-grid">
<li class="sjs-item" style="--sjs-value: 94">
<div class="sjs-dial" aria-hidden="true">
<span class="sjs-arc"></span>
<span class="sjs-needle"></span>
<span class="sjs-hub"></span>
</div><?php
/**
* Plugin Name: Forge, Jauges en demi-cercle
* Description: Trois jauges en demi-cercle dont l’aiguille pivote jusqu’à la valeur, avec chiffre, libellé et source lisibles en texte, en CSS pur. Ajoute la composition « Jauges en demi-cercle » à l'éditeur de blocs.
* Version: 1.0.0
* Requires at least: 6.6
* Requires PHP: 8.1
* Author: Forge
* License: GPL-2.0-or-later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: forge-stats-jauge-semi-circulaire
*:root {
--sjs-card: #ffffff;
--sjs-bg: #f1f5f9;
--sjs-text: #0f1f33;
--sjs-muted: #475569;
--sjs-fill: #0369a1;
--sjs-track: #dbe4ee;
--sjs-needle: #0f1f33;
--demo-stats-jauge-semi-circulaire-bg: #e7edf3;
--demo-stats-jauge-semi-circulaire-text: #0f1f33;
}
Free component: copy it freely, including for commercial projects.
Other statistics components in WordPress
Statistics components in WordPress
A client area page for a small business website: sidebar, four metrics (visits, requests, reply rate and reply time) with their change, an SVG line chart per period and a filterable table of the latest messages, with no chart library.
- Tailwind
- React
- CSS
- WordPress

A row of guarantees (ten-year insurance, free quote, call-out within 24 hours, RGE and Qualibat labels) that reassures visitors right below the call to action.
- Tailwind
- React
- CSS
- WordPress

Four key figures in cards that count up from zero to their value when the section scrolls into view, with icon, unit and label.
- Tailwind
- React
- CSS
- WordPress

Four tinted paper cards pinned askew with tape on a dotted background: each figure of the venue's story has its line drawing, its title and its sentence.
- Tailwind
- React
- CSS
- WordPress

Key figures band
FreeFour key figures in a row, each with its caption, separated by thin rules.
- Tailwind
- React
- CSS
- WordPress