Skip to content

Instantly share code, notes, and snippets.

View eamonnmag's full-sized avatar
📊
Making Histograms

Eamonn Maguire eamonnmag

📊
Making Histograms
View GitHub Profile
@eamonnmag
eamonnmag / football.html
Last active April 15, 2018 08:08
football-analysis.html
<!DOCTYPE html>
<html>
<head><meta charset="utf-8" />
<title>Football Attendances</title><script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<style type="text/css">
/*!
*
* Twitter Bootstrap

Keybase proof

I hereby claim:

  • I am eamonnmag on github.
  • I am eamonnmaguire (https://keybase.io/eamonnmaguire) on keybase.
  • I have a public key ASBIMgBD01qASF3oVSlyzRGGLVgEOLIx44IrK2xQEYA1JQo

To claim this, I am signing this object:

{
"$schema": "https://vega.github.io/schema/vega-lite/v2.json",
"data": {
"values": [
{
"name": "GO",
"type": "Terminology artifacts",
"size": 140,
"index": 9,
"total": 343
{
"$schema": "https://vega.github.io/schema/vega-lite/v2.json",
"data": {
"values": [
{
"name": "FASTA Sequence Format",
"type": "Models/formats",
"size": 252,
"index": 6,
"total": 223,
{
"$schema": "https://vega.github.io/schema/vega-lite/v2.json",
"data": {
"values": [
{
"name": "MIRIAM",
"type": "Reporting guidelines",
"size": 5,
"index": 3,
"total": 116,
{
"$schema": "https://vega.github.io/schema/vega-lite/v2.json",
"data": {
"values": [
{
"name":"Reporting guidelines",
"type": "total",
"value": 118
},
{
"$schema": "https://vega.github.io/schema/vega-lite/v2.json",
"data": {
"values": [
{
"name":"Reporting guidelines",
"type": "total",
"value": 116
},
{
"$schema": "https://vega.github.io/schema/vega/v3.0.json",
"width": 700,
"height": 500,
"padding": 0,
"autosize": "none",
"signals": [
{
"name": "cx",
"update": "width / 2"
{
"$schema": "https://vega.github.io/schema/vega-lite/v2.json",
"repeat": {
"row": ["Page Views", "Recommended Journals", "Recommended Databases"],
"column": ["Page Views", "Recommended Journals", "Recommended Databases"]
},
"spec": {
"data": {
"values": [
{
"$schema": "https://vega.github.io/schema/vega-lite/v2.json",
"description": "",
"width": 500,
"height": 300,
"data": {
"values": [
{
"Name": "CDISC ADaM",
"Type": "Model/format",