diff --git a/index.html b/index.html index 33060b3..79cfd8d 100644 --- a/index.html +++ b/index.html @@ -14,13 +14,19 @@ body { stroke: #ddd; } -.groups, -.ribbons { - fill-opacity: 0.8; +.ribbon { + fill-opacity: 0.4; + stroke-width: 1; + stroke-opacity: 0.1; +} + +.ribbon:hover { + fill-opacity: 1; + stroke-opacity: 1; } - + @@ -179,7 +222,8 @@ function foo(matrix2) { https://bost.ocks.org/mike/uberdata/ http://bl.ocks.org/mbostock/1046712 https://bl.ocks.org/mbostock/4062006 - + http://projects.delimited.io/experiments/chord-transitions/demos/trade.html + https://github.com/jokecamp/sportdb-build-scripts https://groups.google.com/forum/#!topic/opensport/593H1O7yIdE https://github.com/openfootball/datafile/blob/master/worldcup.rb diff --git a/teams.hs b/teams.hs index 04ba578..678fe8c 100644 --- a/teams.hs +++ b/teams.hs @@ -8,6 +8,23 @@ import Data.ByteString.Lazy.Char8 as BL8 import Data.HashMap.Strict as HM import Prelude as P +-- "id":7, +-- "key":"gam", +-- "title":"Gambia", +-- "title2":null, +-- "code":"GAM", +-- "synonyms":null, +-- "country_id":43, +-- "city_id":null, +-- "club":"f", +-- "since":null, +-- "address":null, +-- "web":null, +-- "assoc_id":null, +-- "national":"f", +-- "created_at":"2016-10-16 20:00:51.702726", +-- "updated_at":"2016-10-16 20:00:51.702726" + data Team = Team { _id :: Value, country :: Value } deriving (Show) instance ToJSON Team where