Skip to content

Commit

Permalink
Adds more stats
Browse files Browse the repository at this point in the history
  • Loading branch information
Luis Cacho committed Jul 8, 2023
1 parent 52f9ed9 commit d46eb5a
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 0 deletions.
2 changes: 2 additions & 0 deletions content/fantasy/stats/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ design:
padding: ["20px", "0", "20px", "0"]
---

{{< chart data="league-champions-chart" >}}

{{< chart data="league-winners-chart" >}}

{{< chart data="cumulative-regular-season-points-chart" >}}
Expand Down
Binary file added content/fantasy/stats/champions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
86 changes: 86 additions & 0 deletions content/fantasy/stats/league-champions-chart.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
{
"data": [
{
"mode": "markers",
"type": "table",
"columnwidth": [40,100],
"cells": {
"values": [
[2021, 2022],
["@edpb", "@edpb"]
],
"font": {
"size": 11,
"color": "black"
},
"fill": {
"meta": {
"columnNames": {
"color": "Trace 0, cells, fill, color[0]; Trace 0, cells, line, color[0] - Trace 0, cells, fill, color[1]; Trace 0, cells, line, color[1] - Trace 0, cells, fill, color[2]; Trace 0, cells, line, color[2] - Trace 0, cells, fill, color[3]; Trace 0, cells, line, color[3] - Trace 0, cells, fill, color[4]; Trace 0, cells, line, color[4]"
}
},
"colorsrc": "luiscachog:2:2fa8c6,2b0740,43d8be,9a751f,a900b0",
"color": [
[
"rgb(239,243,255)",
"rgb(189,215,231)",
"rgb(107,174,214)",
"rgb(49,130,189)",
"rgb(8,81,156)"
]
]
},
"line": {
"meta": {
"columnNames": {
"color": "Trace 0, cells, fill, color[0]; Trace 0, cells, line, color[0] - Trace 0, cells, fill, color[1]; Trace 0, cells, line, color[1] - Trace 0, cells, fill, color[2]; Trace 0, cells, line, color[2] - Trace 0, cells, fill, color[3]; Trace 0, cells, line, color[3] - Trace 0, cells, fill, color[4]; Trace 0, cells, line, color[4]"
}
},
"colorsrc": "luiscachog:2:2fa8c6,2b0740,43d8be,9a751f,a900b0",
"color": [
[
"rgb(239,243,255)",
"rgb(189,215,231)",
"rgb(107,174,214)",
"rgb(49,130,189)",
"rgb(8,81,156)"
]
]
}
},
"header": {
"values": ["<b>YEAR</b>", "<b>CHAMPION</b>"],
"fill": {
"color": "white"
},
"line": {
"color": "white"
},
"font": {
"size": 14,
"color": "black"
}
}
}
],
"layout": {
"title": "Nerd Football League Champions",
"template": "plotly_white",
"images": [
{
"x": 0.5,
"y": 0.5,
"layer": "above",
"sizex": 1,
"sizey": 1,
"sizing": "contain",
"source": "champions.png",
"visible": true,
"xanchor": "center",
"yanchor": "top"
}
],
"autosize": true
},
"frames": []
}

0 comments on commit d46eb5a

Please sign in to comment.