diff --git a/docs/data/data.json.js b/docs/data/data.json.js index 88fbb1c..f17c260 100644 --- a/docs/data/data.json.js +++ b/docs/data/data.json.js @@ -8,7 +8,7 @@ const races = allData.matches.map(race => ({ id: race.id, order: race.weekId, na const pastRaces = races.filter(race => new Date(race.date) < Date.now()); // extract teams -const teams = allData.clubs.map(team => ({ id: team.id, name: team.name })); +const teams = allData.clubs.map(team => ({ id: team.id, name: team.name.split(" - ").slice(0, 2).join(" - ") })); // extract riders const riders = allData.players.map(rider => { diff --git a/docs/index.md b/docs/index.md index 78a6b92..dcf1fd7 100644 --- a/docs/index.md +++ b/docs/index.md @@ -95,7 +95,7 @@ const teamFilter = Generators.input(teamFilterSelect); function byTeam({width} = {}) { return Plot.plot({ title: "🚴 Welk team scoorde het best?", - marginLeft: 180, + marginLeft: 140, width, height: 700, grid: false,