You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123 lines
3.4 KiB
123 lines
3.4 KiB
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<script type="text/javascript" src='../core/js/ui.js'></script>
|
|
<script src="http://d3js.org/d3.v4.0.0-alpha.50.min.js"></script>
|
|
<script src="http://d3js.org/d3-chord.v0.0.min.js"></script>
|
|
<script src='js/bundle.js'></script>
|
|
<link rel="stylesheet" href="css/style.css">
|
|
<link rel="stylesheet" href="css/flags.min.css">
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>World Cup Matches</h1>
|
|
<h2>Chord diagram for all World Cup matches from 1930 to 2014</h2>
|
|
<hr>
|
|
|
|
<h3>Project Goal</h3>
|
|
|
|
<blockquote>
|
|
Explore D3's chord diagrams using World Cup match data. Use Haskell to build JSON parsers.
|
|
<br><br>
|
|
Visualization should invite interaction to create and answer questions such as:
|
|
<ul>
|
|
<li>How many times has Iran competed in a World Cup?</li>
|
|
<li>Which teams played the in final in 1986?</li>
|
|
<li>Which team scored the most goals in any World Cup?</li>
|
|
<li>Why does the 1950 World Cup have 6 final games (and what is the Maracanazo)?</li>
|
|
</ul>
|
|
</blockquote>
|
|
|
|
<p>
|
|
Data source: <a href="http://openfootball.github.io/">OpenFootball</a>.
|
|
Transform and reduce scripts are built in Haskell, publically available in <a href="http://gogs.benburlingham.com/ben.burlingham/d3-worldcup">the source code</a>.
|
|
</p>
|
|
|
|
<p>
|
|
This visualization is created using D3 and Three.js libraries.
|
|
</p>
|
|
|
|
<hr>
|
|
|
|
<div class="visualization">
|
|
<div class="tourney"></div>
|
|
<div class="events"></div>
|
|
<div class="sort"></div>
|
|
<div class="schemes"></div>
|
|
<div class="rounds"></div>
|
|
|
|
<div class="diagram">
|
|
<svg width="700" height="700"></svg>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="notes">
|
|
<h5>TODO</h5>
|
|
1930: OK
|
|
1934: Patched.
|
|
Italy Spain replay 1-0!
|
|
1938:
|
|
Switzerland Germany replay 4-2
|
|
Cuba Romania replay 3-2
|
|
Brazil Czech replay 2-1
|
|
1950: OK
|
|
1954:
|
|
Germany Turkey playoff 7-2
|
|
Switzerland Italy playoff 4-1
|
|
Germany Hungary final 3-2
|
|
1958:
|
|
Northern Ireland Czech playoff 2-1
|
|
Wales Hungary replay 2-1
|
|
Sweden Wales 0-0
|
|
Brazil England 0-0
|
|
Russia England replay 1-0
|
|
1962:
|
|
1966:
|
|
1970:
|
|
1974:
|
|
1978:
|
|
1982:
|
|
1986:
|
|
1990:
|
|
1994:
|
|
1998:
|
|
2002:
|
|
France Uruguay 0-0
|
|
Nigeria England 0-0
|
|
Brazil Turkey replay 1-0
|
|
2006:
|
|
Trinidad Tobago Sweden 0-0
|
|
Netherlands Argentina 0-0
|
|
Mexico Angola 0-0
|
|
Japan Croatia 0-0
|
|
France Switzerland 0-0
|
|
2010:
|
|
Uruguay France 0-0
|
|
England Algeria 0-0
|
|
Paraguay New Zealand 0-0
|
|
Ivory Coast Portugal 0-0
|
|
Portugal Brazil 0-0
|
|
Switzerland Honduras 0-0
|
|
2014:
|
|
Brazil Mexico 0-0
|
|
Japan Greece 0-0
|
|
Costa Rica England 0-0
|
|
Ecuador France 0-0
|
|
Iran-Nigeria 0-0
|
|
Brazil Chile replay
|
|
Costa Rica Greece replay
|
|
Netherlands Costa Rica replay
|
|
Argentina Netherlands replay
|
|
|
|
gremlins?
|
|
|
|
african dictator visualization
|
|
update gogs
|
|
update drone
|
|
tweet it!
|
|
</div>
|
|
</body>
|
|
</html>
|
|
`
|
|
|