A little nice graph for Futhead player pages (note from the author: this add-on wasn't added yet, mind you). According to a given set of on-field player attributes, it displays a graph just like what it would display in game.
Simply call the showResults
function (generate.js
) with an object of stats that should be drawn as the argument.
The aforementioned object should only have the attributes names (Pace
, Shooting
, Passing
, Dribbling
, Defending
, Physical
, in this strict order) as properties, whose values are the value of the corresponding stat. Run the index.html
for a preview.
This graph attempts to imitate the FIFA 18 graph with as much similarity as possible. It does not handle comparison (e.g. a red graph over the blue one), as its usage is only intended for showing one single player's infos. If something still feels off, feel free to file an issue - or even better, a PR!
A live demo of the graph can be found here.
This project started out as a tool to practically learn SVG in a way that could be personally useful, and as such there aren't any future plans for it to be maintained / enhanced / call it whatever you want. Critical problems will be fixed for sure, but it shouldn't be more than that.
This software is intended to be for public domain. Have fun doing whatever you want with it. :D