Stats Exporter is a server-side Fabric mod. It turns chosen scoreboard objectives into a clean statistics page that is served by your Minecraft server. Install the mod, choose the objectives, and open the page. You do not need to build a website, although it is am option.
The mod reads the live scoreboard from the running server. It never reads or
edits scoreboard.dat.
/api/stats for anyone who wants to build their own site