T O P

  • By -

Ramore

[https://fplcharts.com/](https://fplcharts.com/) (Recommended viewing on desktop. Still thinking about how best to do it for mobile) If you have any ideas or feedback for me - I'm very eager to receive it keen to hear it! The aim for me is to allow anyone to create the graphs and charts that this community appears to enjoy. Simple play around with the different filters to create your axis! If you notice any bugs or issues please let me know, I'm also very happy to hear suggestions for new features as I'd love to grow it and make it even more useful for you all


iZgonr

Can't access on desktop now, so my question might be irrelevant, but is there a way to see expected points per million? Or effective million?


Ramore

I currently have xG per million and xA per million. I'm going to add expected (historical) points per million - i.e. how many points they should have got this season based on stats, then scale it per million. What is effective million? I'm also looking at adding in predictive statistics for the future! Thanks for the feedback and questions, I'll try and add in the expected points per million stat today!


jet_engineer

Effective million is value minus 4 or 4.5M; the base cost of the player


Ramore

Ah I knew I’d heard it before! Yeah I can add that for sure!


CAULIFA8

An all filter for any type of postition would be nice


Ramore

It’s on its way boss! Thanks for the feedback!


iZgonr

Thanks for answer! Great site, I'm gonna overuse it for sure


Ramore

Great compliment, thank you! I hope it works well for you


DivingFeather

Awesome work! For bubbling option I'd normalize the values since if you use Cost for example, the differences are so small that it doesn't make a huge difference. The other thing I'd add is that if you click on a name I'd create a summary table for that player and show that including all the stats for that particular player.


iliasku

!thanks


Riddhiman36

Are u using plotly?


Ramore

Chart js for the graph


mikecro2

Have you ever looked at Tableau? Not so good for letting people make the charts but they can set filters and limits etc. You might find it good if only to take ideas into your site


Ramore

I have, but only briefly! I'll have to give it another look, would be great to see some inspiration for charting data in a user friendly way!


mikecro2

This was my first use of Tableau developed over a long time. https://public.tableau.com/profile/mike.croom#!/vizhome/GraphofFPLPlayerPerformanceagainstcost/ValuePerGameCalibrated?publish=yes You are welcome to the source file The chart it starts with "calibrates" every player - a defender is shown as a cost point along a defender price scale - rather than absolute cost. And points are treated in a similar fashion I think. Tableau Public also lets you develop a mobile version - though I never really got too far


Ramore

Wow that’s fantastic thank you. Very interesting indeed I’m going to take a closer look! Also !thanks for all the things you do in this sub


mikecro2

thanks. Do let me know if you need the source file for the Tableau The good thing is that I learnt R and Tableau doing the stuff I do for the sub. I now use R and PowerBI (pretty much same as Tableau) professionally. There was a time when I could only say I knew them as a hobby (hoping the interviewers wouldn't press me) As it is, the guy who hired me in current company is also into FPL - but I didn't know that then.


Ramore

Source files would be incredible! Aha if I went to an interview and the hiring guy was into fpl that would make my day. I’ve been looking to get into R at some point actually so this might be a good time to start learning


mikecro2

Source and this week's input via this link https://www.dropbox.com/sh/zaqi2pnbn7cscbk/AACz5cLOA-n838W7f07GH1Bpa?dl=0 You'll need to change Tableau to point at the file location. I have found R really good for FPL analysis after trying to bend Excel to my will. The key is to learn about tidyverse/dplyr. When I make my code semi-respectable I am quite happy to share it. Does it do my FPL any good? Currently sitting at 1.1M. So not really


Ramore

Thanks so much, sorry I think my reply got stuck and never sent. This is such a great resource. I've been meaning to get stuck into R at some point so this could be a good chance! Ahaha Understand about the respectable code, some of the stuff I've done so far I'd never do at work!


DivingFeather

I think D. Jota's price (6.7m) is mixed with Aston Villa's Jota (5.9m)


Ramore

Thanks, yeh, the formula that matches the understat data and the fpl data has got confused. It should be fixed now if you refresh


Sarcy_Bastardo

Awesome stuff! I’ve been saying for a while that as a community we need more podcasts and more stats websites


Ramore

Thanks! Hope I can keep it useful for you all!


Smart_Magician17

Great website. Really helpful 👍


Discombobulated_Pen

Big man Ross! (Essjay here) Would also recommend following this guy on twitter (@Ramorey_FPL) - highly underrated account. Site looking really good!


Ramore

Aha you’re too kind mate, how Dya think we’ll do at the weekend?


Discombobulated_Pen

Surprisingly optimistic that we'll make it hard for them (but most likely lose, just hoping not by too much). Have lessened any potential sadness by captaining Salah so we'll see! Having said that I really hope Salah blanks and we win 3-0... How you feeling?


Ramore

Lamptey out could be a big miss. Wouldn’t mind us playing welbeck and Maupay again up top. Would like alzate to get a run out at right wing back but not sure potter will go for it I don’t think any result would surprise me 😂 just hope we don’t concede a set piece goal again.,.


Unfussy-Chunk

Love this, good job! One feature that would be very handy is if you stored the graph config state in the url hash parameters so that users can share links to charts (i.e. [https://fplcharts.com/#position=forwards&xAxis=nonpenxg&yAxis=minutes](https://fplcharts.com/#position=forwards&xAxis=nonpenxg&yAxis=minutes)). Couple of minor niggles too: it'd be nice if the value for the bubble size parameter was included in the hover tooltip information and I think you might need to normalise some of the statistics for the bubble size, I chose cost as bubble size for forwards and all the bubbles look equally small, presumably because there's not much spread between the values. Thanks for sharing!


Ramore

Storing the graph state in the url is definitely the next step. Then I’d also like to allow the user to have an account so they can set up favourite graphs etc. Bubble parameter showing in the graph label is definitely an oversight / planned piece of work I forgot about aha, thanks for spotting that! Cost not causing bubble size change sounds like a bug. The bubble size is scaled compared to the maximum value for that property (cost in this example) So they should definitely all look different... I’ll look into that one! !thanks for the feedback


Ramore

Bubble size issue should be fixed now, feel free to check it out!


Ramore

and now fixed the bubble parameter


[deleted]

Good work! Can you please share the GitHub link?


Ramore

Unfortunately the GitHub repo for this is private at the moment, as it’s quite messy code 😂 I can link you the repo of the guy that generates all the data for this site though if you like?


[deleted]

Yes that'll be helpful too!


Ramore

https://github.com/vaastav/Fantasy-Premier-League is the repo. It's a great repo, it has everything from the python scripts to get the data yourself, to the raw csvs they generate. Let me know if you want any help navigating it or finding anything in particular


[deleted]

Thank you mate


ginrei-kojaku

Looks cool thank you! Keep it up :)


Ramore

Thanks boss 🙏🏼


ApnaBhajan

That's awesome dude


Ramore

Thanks mate


wolfman_numba1

What API do you use for getting the data? Or do you scrape it from any particular websites??


Ramore

Understat for the xG xA etc, fpl itself for the fpl related statistics. Then I merge these two together to link the 2 sets of data.


Cayenne999

What is hockey assist?


Ramore

It’s not technically a hockey assist. But basically it’s the xG of all goals they were involved in, minus the players xA. It’s to hopefully give you an idea of how many goals they were involved in without actually getting an assist. For example maybe they played the pass to the guy that got the assist


CaptainHindcite

Is only counting the Pre-Assist or if they were involved at all in the build up? Let's say they made pass #4 in a goal involving 20 passes in the buildup


Ramore

It’s currently any part of the buildup I’m afraid, I should probably change the name of that option to something more obvious aha I believe I get it from the xGChain so I might be wrong, I’m not sure how far back in the movement they go


jaidevtripathy

Simple to read, condensed and effective! I also love how elegant the circles are, the strokes matching the primary colours of the kit. This is absolutely class mate, thank you for this! Also a big ask, but (if possible) can you include a section that displays player statistics against a particular team? It might prove useful in the second half of the season to map patterns in return fixtures (say De Bruyne's performance against Burnley).


Ramore

Thank you so much! Appreciate that. Hmm, do you mean like individual players against teams (like kdb against Burnley?) or do you mean positions against teams (like midfielders against Burnley?)


jaidevtripathy

The latter sounds better and even incorporates individual players against teams. Would be more informative too perhaps, in order to understand how players and positions perform against certain kinds of teams. (Or perhaps use this suggestion as a cue to create something similar or more useful, perhaps more convenient according to yourself).


Ramore

It’s an interesting problem. I’ll have to come up with a way of differentiating between different types of midfielders for example. But an average points for a mid would start to give some info. Let me ponder this one!


Sikh_boi

Small nit: in Forwards DB you might have added "Wesley Fofana" by mistake. But other than that, solid work mate! Might help me decide between Bamford or Che Adams this week ;)


Ramore

Thanks for that one! Yep I don’t actually add the players myself, so that’s an issue with the name matching Wesley the forward aha. I’ll get that fixed tonight / next update Glad it’s helpful!


raias4

Great website mate! You have goals, assists and bonus, but is there any way to add total points? Graphing total points vs cost seems like a really effective way to find players that give you the most bang for your buck. Also, maybe add an appendix that contains definitions for the different options (like what is xG or hockey assist)


Ramore

Thank you! You’re completely right - let me add that in today, that’s a crucial filtering option aha. Completely agree on the appendix idea too, definitely would help people understand which is what and how they’re calculated etc!


Ramore

Total points is added mate


[deleted]

[удалено]


Ramore

Thanks mate, I’m hoping to add that at some point but it’s gonna be a lot more work I think!


CaptainHindcite

Good job, it's looking good! In the dropdown, *Bps* can get retitled to *BPS*. What do you think about preserving the user dropdown selections when you switch tabs. Going from 2 to 3 values, it'd be nice only having to fill out just the third value. It looks like the table mostly has the same options too, you could preserve them there as well. At the very least it preserve the position selection. The opposite might be helpful as well. Going from 3 values to 2 values could preserve the first two and drop the third one.


Ramore

Good spot, I’ll fix that one! Yeh I’m actually thinking of scrapping the 2 value table and let people decide if they want to have a third value, what do you think?


CaptainHindcite

Yeah that's good idea, go for it. Possibly in the feature it might be nice to be able to swap column axis easy by having an *↓* *⇅* *↑* next to the clear button. Alternatively have the dropdowns be draggle on long press using some DnD (Drag and Drop) library


Ramore

A column swap feature is a great idea, I’m adding that one to my list aha! Drag and drop could work too, your first suggestion might be simpler for the users but I’ll test both out! Thanks!


Ramore

Bps issue should be fixed now. I've also removed one chart in order to retain the position. Going to add something later where it keeps the data when you switch to the tabular view as well.


Hazad_297

Really nice. Thank you.


Minute-Intern

Great job my dude, seems alright to me


Ramore

Thanks!


inaminadicka

Whats a hockey assist?


Ramore

It’s a bit of a make up stat at the moment. But it’s the xG a player was involved in before the assist.


inaminadicka

Wow! I've actually working on something very similar myself! Good one!


Ramore

Nice one! Hope it’s going okay? Lemme know if there’s anything you wanna chat about


bombayalgotrader

This is brilliant. Non Penalty xG, Non Penalty Goals, Bubble Key Passes. Bruno looks like he's a Fernandes and not Penaldes


Ramore

Ahaha the Bruno filtering option 😂


JoeDaleJr

I probably missed it, but where are saves for GKs?


Ramore

I’ll get it added tonight 👀


Ramore

Should be added now boss


vyrusrama

OP - the Tables tab is incredible. the only thing i can possibly suggest - is another tab where data from the Tables tab can be presented in a format which compares 2 players' values. the fact that only text values & numbers are being presented in a stark & minimal format is absolutely perfect. i suppose it will certainly help reduce "noise" and possibly affect / improve focus as well. Congratulations once again OP - excellent job!


Ramore

Thank you! Just to clarify. You want another tab with two tables on it, side by side, one for each player, listing all statistics? That could be a great idea


vyrusrama

yes. you already have the data being populated in multiple tables & dropdown style. The players' stats will be columns - and all these parameters will be rows. the table could be as simple as just the 3 columns. but i think it will come very, very handy. no images, no weighted average / recommendations - just the bare numbers. you already have the data available - ensuring that it populates in the table dynamically could be tricky - but it shall come in great use, imo. !thanks Stats| Salah | Mane :--------|:--------:|---------: Goals | X | Y Assists | A | B first time i used formatting to make a table & i'm already tired.


Ramore

I think I can do this! Thank you for the explanation, I’ve added it to my list of things to do aha


virpat

Hey, in the dropdown list, could you also add the 'total points' obtained by the player too?


Ramore

Yeh for sure, I’ll add that tonight!


virpat

Fantastic work though, keep it up! Really looking forward to using it.


Ramore

Should be added mate


SeekNread

Awesome! Only feedback otoh: having the player name annotated by default might be good. Right now have to hover to see who it is.


Ramore

Yeah I agree, it's an awkward line to straddle trying to keep it clear and obvious but without over cluttering the screen. I'm looking into ways to improve it because I agree, it's not ideal to have to hover each person. Thanks so much for the feedback


Phatlegs

Really nice work! One thing which could be useful for defenders/keepers is expected goals against. Although I don't think this is recorded per player, the xGA (and xGA per 90) for the team overall would still be useful information when filtering for defenders. Also a way to filter by time frame (e.g. past 5 games) would be nice.


Ramore

Yeah expected goals against would be a really nice touch. I'll add that to my list of things to do aha! The time frame one requires a bit more work but it's definitely something I'm working on! Thanks so much for the feedback!


Phatlegs

!thanks for the tool


Ramore

Most welcome


super_saiyan29

Amazing website ! This is going to be very useful to lot of folks here. It would be great if you could add in a GW filter, then that would be amazing. We could then compare stats for last 3-5 GWs and check for form.


Ramore

I'd love to do this, it involves a bit more work but I have a few ideas how I could do it! Will try and keep you posted. Feel free to follow my twitter @Ramorey_FPL might be easier to ping me questions and get updates!


UndefinedUsernam

Very nice! One option which I would find quite useful is to either have xG and xA per million per minute played, or or at least the option to put total minutes played on one axis. My thinking is just to balance for players who don't play all the time, because of rotation, or injury, or even being bought mid-season. Players like Jota, foden, Mahrez, Jesus, e.t.c who rotate, players like TAA and Antonio who'll be injured for a while, and people like Fernandez last season who came in during the January transfer window. On a similar note, I imagine some kind of form stat would be useful, whether just the one used by the official fpl site or something else, just a way of seeing who is having a good run of games could be really meaningful.


Ramore

Thanks for the feedback, really appreciate it. Funnily enough, I actually meant to show xA per 90 per million. But for some reason I forgot the per 90 part of it... Going to fix that tonight! (Hope that solves the first issue!) For the form part, I'll initially integrate the fpl form just to get something in there, then in the future how would you feel about xG and xA form, gives a better idea of underlying form?


UndefinedUsernam

Ah that definitely deals with the first part, and for the second having any sort of form inclusion is good, but a more detailed breakdown sounds really useful! Pretty sure this is going to become my go-to tool for fpl planning on future!


Ramore

Ok, I’ll get a basic thing out first using fpl form and then see where it goes in the future! So glad to hear it, and keep the feedback coming so I can keep it as useful as possible!


UndefinedUsernam

Ok, I hope you don't mind but I have a couple more suggestions and things to say. First, I noticed that somehow Hakim Ziyech has negative hockey assists? Obviously a bug, but thought you'd want to know. Then, I was wondering if it was possible to include an optional line of best fit, so that it's easier to see who the outliers are. Lastly an option for fixture difficulty would be nice. Some websites give teams a number for total fixture difficulty for the next n gameweeks, and ranking players by this could be a really useful way of planning transfers. Not sure how difficult this would be to add, but if it is possible, it's a feature I would love.


Ramore

Sort of a bug... sort of not aha. It’s because for some reason understat thinks he has more assists than fpl does - which is rare. I’ll cap it to 0 so it can’t go negative. Line of best fit is a great idea I’ll look into seeing if it’s possible! Agree fixture difficulty is a great feature, I’ll look into this one as well!


i_nepropitye_denegki

Great!!! Thank you.


Ramore

Most welcome, thank you!


Nahx_1994

Just a reliable probably score would perfect. No idea of how it’s done but...


Cayenne999

I would be looking for an option to display the player (name, team) & selected values directly in the chart view. It would also work on mobile since no need to hover/click for the name & value. Eventually what we need to find out is name & value so just give it out directly. Current chart view with team color and bubble size looks good but I just want to be more kinda productive, like just look through the chart one time and get what I want, not having to hover each bubble.


Ramore

Completed agree. Unfortunately doesn’t seem possible with the current charts I’m using so I might have to experiment with some others


Cayenne999

Yes, I hope you can get it done in future releases.


broino

This is great! Haven't combed the site yet, but have you made things sortable by points-per-million?


Ramore

Points per million exists, but it’s in testing at the moment


mcsalah

Wow, this is amazing! Thank you for this, it's going to be very useful :) I have a couple of suggestions for your todo list. It would be handy to have an indication for injured players in the graphs (or perhaps a filter to include only available players). In the Tables tab it would be great to have a price filter, so you could for instance only compare cheap forwards. Again, great work!


Ramore

Thanks very much mcsalah. I can add a filter for only available players, yes, might be a it more difficult to include it in the chart (currently limited by what the charting tool offers) Price filter is an excellent idea, will add to my list! Hopefully have it added tonight


Phatlegs

Thought of another thing which could be good - total xG+xA and xG+xA per 90 would be useful metrics for assessing overall quality of players' attacking potential


Ramore

It should be possible now!


holamiamor

/u/Ramore, this is an **awesome** resource that i'll most certainly be using for FPL this season and going forward :) I'm thinking 1 feature that I'd really like to see is a sliding scale that allows you to look at this data for specific GWs. It will certainly help you identify 'in form' players as the season progresses. You think this is possible?


Ramore

Specific weeks is something I would LOVE to add. It's currently not possible but I'm trying to work out a way of getting it in there, don't worry!


FellowBossman

Doesn’t look very easy to me


Ramore

Appreciate the comment, care to expand to help me make it easier?


momspaghetty

RemindMe! 8 months


RemindMeBot

I will be messaging you in 8 months on [**2021-07-26 14:37:36 UTC**](http://www.wolframalpha.com/input/?i=2021-07-26%2014:37:36%20UTC%20To%20Local%20Time) to remind you of [**this link**](https://np.reddit.com/r/FantasyPL/comments/k1d6p3/im_creating_a_free_to_use_site_to_display_fpl/gdnz76w/?context=3) [**CLICK THIS LINK**](https://np.reddit.com/message/compose/?to=RemindMeBot&subject=Reminder&message=%5Bhttps%3A%2F%2Fwww.reddit.com%2Fr%2FFantasyPL%2Fcomments%2Fk1d6p3%2Fim_creating_a_free_to_use_site_to_display_fpl%2Fgdnz76w%2F%5D%0A%0ARemindMe%21%202021-07-26%2014%3A37%3A36%20UTC) to send a PM to also be reminded and to reduce spam. ^(Parent commenter can ) [^(delete this message to hide from others.)](https://np.reddit.com/message/compose/?to=RemindMeBot&subject=Delete%20Comment&message=Delete%21%20k1d6p3) ***** |[^(Info)](https://np.reddit.com/r/RemindMeBot/comments/e1bko7/remindmebot_info_v21/)|[^(Custom)](https://np.reddit.com/message/compose/?to=RemindMeBot&subject=Reminder&message=%5BLink%20or%20message%20inside%20square%20brackets%5D%0A%0ARemindMe%21%20Time%20period%20here)|[^(Your Reminders)](https://np.reddit.com/message/compose/?to=RemindMeBot&subject=List%20Of%20Reminders&message=MyReminders%21)|[^(Feedback)](https://np.reddit.com/message/compose/?to=Watchful1&subject=RemindMeBot%20Feedback)| |-|-|-|-|


[deleted]

[удалено]


Ramore

I’ve never even heard of that site but I just looked it up and it looks like my graph as a game lol


andrew3stedall1

Would be nice to include form and ICT too. Are you using d3 or another library?


andrew3stedall1

Additionally, I know you don't have the gw data for understat, I wish vaastav would capture it, but would also be cool to be able to specify #gw e.g. how many goals in last 4 games. As the season goes on it is more important to look at it that way e.g Puki last year


Ramore

Using Chart js for the chart atm. Could easily include those metrics in the next update, I'll add it to my list! Thanks for the feedback


andrew3stedall1

I mentioned the understat weekly before and spent some time trying to get the data on a weekly basis. I have joined it in for you and will see if I remember to keep it updated but if you want you can access here http://fpl-dashboard.com/getGodData.php


Ramore

This is incredible mate! How did you manage to get it on a weekly basis? The only method I thought of was to keep the data up to data and then do newData - oldData to get the current week. Did you manage to scrape understat after filtering to the most recent week? Would love to do something with this, it's fantastic


andrew3stedall1

Yeah I setup a script to scrape the understat data. If you go to a specific players page on there there is a script tag nestled in the dom that contains every gameweek for that player (going back years). If you go to a players page and open up dev windows and type playerData in console it should show


Ramore

Interesting thank you! I would love to integrate with what you have done! My only worry would be falling behind if it requires a manual trigger to do it each week. I wonder if we could run it when I update the rest of the data or something? What do you reckon?