Last active
May 22, 2024 20:30
-
-
Save hoverbird/b012e65457b879b35810e6fae1200b74 to your computer and use it in GitHub Desktop.
Example Data Format for Bubble SOrt game
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Campaign Funds", | |
"published_at": "05/22/2024", | |
"kind": "bubble-sort", | |
"version": 1, | |
"copyright": "©2024 Particle.news", | |
"units": "USD", | |
"brackets": [ | |
{ | |
"label": "Above $1 Billion", | |
"threshold": 1000000000 | |
}, | |
{ | |
"label": "Above $500 Million", | |
"threshold": 500000000 | |
}, | |
{ | |
"label": "Above $100 Million", | |
"threshold": 100000000 | |
}, | |
{ | |
"label": "Above $50 Million", | |
"threshold": 50000000 | |
}, | |
{ | |
"label": "Above $10 Million", | |
"threshold": 10000000 | |
} | |
], | |
"entities": [ | |
{ | |
"name": "Barack Obama 2008", | |
"value": 779000000 | |
}, | |
{ | |
"name": "Donald Trump 2020", | |
"value": 774000000 | |
}, | |
{ | |
"name": "Joe Biden 2020", | |
"value": 1014000000 | |
}, | |
{ | |
"name": "Hillary Clinton 2016", | |
"value": 768000000 | |
}, | |
{ | |
"name": "George W. Bush 2004", | |
"value": 367000000 | |
}, | |
{ | |
"name": "Bernie Sanders 2020", | |
"value": 211000000 | |
}, | |
{ | |
"name": "Mitt Romney 2012", | |
"value": 446000000 | |
}, | |
{ | |
"name": "John Kerry 2004", | |
"value": 328000000 | |
}, | |
{ | |
"name": "Al Gore 2000", | |
"value": 190000000 | |
}, | |
{ | |
"name": "Bill Clinton 1996", | |
"value": 425000000 | |
}, | |
{ | |
"name": "George H. W. Bush 1992", | |
"value": 215000000 | |
}, | |
{ | |
"name": "Ronald Reagan 1984", | |
"value": 290000000 | |
}, | |
{ | |
"name": "Michael Dukakis 1988", | |
"value": 137000000 | |
}, | |
{ | |
"name": "John McCain 2008", | |
"value": 370000000 | |
}, | |
{ | |
"name": "Jimmy Carter 1976", | |
"value": 33000000 | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Evolutionary Timeline", | |
"published_at": "05/22/2024", | |
"kind": "bubble-sort", | |
"version": 1, | |
"copyright": "©2024 Particle.news", | |
"units": "Mya", | |
"brackets": [ | |
{ | |
"label": "Above 500 Mya", | |
"threshold": 500 | |
}, | |
{ | |
"label": "Above 300 Mya", | |
"threshold": 300 | |
}, | |
{ | |
"label": "Above 200 Mya", | |
"threshold": 200 | |
}, | |
{ | |
"label": "Above 100 Mya", | |
"threshold": 100 | |
}, | |
{ | |
"label": "Above 10 Mya", | |
"threshold": 10 | |
} | |
], | |
"entities": [ | |
{ | |
"name": "Sharks", | |
"value": 450 | |
}, | |
{ | |
"name": "Ferns", | |
"value": 360 | |
}, | |
{ | |
"name": "Bees", | |
"value": 130 | |
}, | |
{ | |
"name": "Dinosaurs", | |
"value": 230 | |
}, | |
{ | |
"name": "Horses", | |
"value": 55 | |
}, | |
{ | |
"name": "Butterflies", | |
"value": 50 | |
}, | |
{ | |
"name": "Bats", | |
"value": 52 | |
}, | |
{ | |
"name": "Flowering Plants", | |
"value": 140 | |
}, | |
{ | |
"name": "Humans", | |
"value": 0.3 | |
}, | |
{ | |
"name": "Mammoths", | |
"value": 4.8 | |
}, | |
{ | |
"name": "Cockroaches", | |
"value": 320 | |
}, | |
{ | |
"name": "Crocodiles", | |
"value": 200 | |
}, | |
{ | |
"name": "Grass", | |
"value": 55 | |
}, | |
{ | |
"name": "Elephants", | |
"value": 5 | |
}, | |
{ | |
"name": "Birds", | |
"value": 150 | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Jurassic Park Character Deaths", | |
"published_at": "05/22/2024", | |
"kind": "bubble-sort", | |
"version": 1, | |
"copyright": "©2024 Particle.news", | |
"units": "minutes", | |
"brackets": [ | |
{ | |
"label": "Within the first 30 minutes", | |
"threshold": 30 | |
}, | |
{ | |
"label": "Within 31 to 60 minutes", | |
"threshold": 60 | |
}, | |
{ | |
"label": "Within 61 to 90 minutes", | |
"threshold": 90 | |
}, | |
{ | |
"label": "Within 91 to 120 minutes", | |
"threshold": 120 | |
}, | |
{ | |
"label": "Survives the film", | |
"threshold": 999 // Placeholder for characters who survive | |
} | |
], | |
"entities": [ | |
{ | |
"name": "Donald Gennaro", | |
"value": 78 | |
}, | |
{ | |
"name": "John Arnold", | |
"value": 100 | |
}, | |
{ | |
"name": "Dennis Nedry", | |
"value": 71 | |
}, | |
{ | |
"name": "Robert Muldoon", | |
"value": 107 | |
}, | |
{ | |
"name": "Ray Arnold", | |
"value": 103 | |
}, | |
{ | |
"name": "Ian Malcolm", | |
"value": 999 | |
}, | |
{ | |
"name": "Alan Grant", | |
"value": 999 | |
}, | |
{ | |
"name": "Ellie Sattler", | |
"value": 999 | |
}, | |
{ | |
"name": "John Hammond", | |
"value": 999 | |
}, | |
{ | |
"name": "Tim Murphy", | |
"value": 999 | |
}, | |
{ | |
"name": "Lex Murphy", | |
"value": 999 | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Top Speed Records", | |
"published_at": "05/22/2024", | |
"kind": "bubble-sort", | |
"version": 1, | |
"copyright": "©2024 Particle.news", | |
"units": "km/h", | |
"brackets": [ | |
{ | |
"label": "Above 10000 km/h", | |
"threshold": 10000 | |
}, | |
{ | |
"label": "Above 3000 km/h", | |
"threshold": 3000 | |
}, | |
{ | |
"label": "Above 1000 km/h", | |
"threshold": 1000 | |
}, | |
{ | |
"label": "Above 500 km/h", | |
"threshold": 500 | |
}, | |
{ | |
"label": "Above 300 km/h", | |
"threshold": 300 | |
} | |
], | |
"entities": [ | |
{ | |
"name": "North American X-15", | |
"value": 7274 | |
}, | |
{ | |
"name": "Lockheed SR-71 Blackbird", | |
"value": 3540 | |
}, | |
{ | |
"name": "ThrustSSC", | |
"value": 1228 | |
}, | |
{ | |
"name": "Bugatti Chiron Super Sport 300+", | |
"value": 490 | |
}, | |
{ | |
"name": "Tesla Model S Plaid", | |
"value": 322 | |
}, | |
{ | |
"name": "Maglev Train (L0 Series)", | |
"value": 603 | |
}, | |
{ | |
"name": "Airbus A380", | |
"value": 1020 | |
}, | |
{ | |
"name": "Boeing 747", | |
"value": 988 | |
}, | |
{ | |
"name": "F-22 Raptor", | |
"value": 2410 | |
}, | |
{ | |
"name": "Concorde", | |
"value": 2180 | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"copyright": "©2024 Particle.news", | |
"kind": "bubble-sort", | |
"published_at": { | |
"$__toml_private_datetime": "2023-05-21" | |
}, | |
"title": "The Trouble With Trillions", | |
"units": "USD", | |
"version": 1, | |
"brackets": [ | |
{ | |
"label": "$20 Trillion", | |
"threshold": 20000000000000 | |
}, | |
{ | |
"label": "$10 Trillion", | |
"threshold": 10000000000000 | |
}, | |
{ | |
"label": "$5 Trillion", | |
"threshold": 5000000000000 | |
}, | |
{ | |
"label": "$1 Trillion", | |
"threshold": 1000000000000 | |
} | |
], | |
"entities": [ | |
{ | |
"name": "Bitcoin Market Cap", | |
"value": 1379000000000 | |
}, | |
{ | |
"name": "GDP of China", | |
"value": 17900000000000 | |
}, | |
{ | |
"name": "US National Debt", | |
"value": 33100000000000 | |
}, | |
{ | |
"name": "US Military Budget", | |
"value": 849600000000 | |
}, | |
{ | |
"name": "GDP of Germany", | |
"value": 4082000000000 | |
}, | |
{ | |
"name": "Meta Market Cap", | |
"value": 1180000000000 | |
}, | |
{ | |
"name": "Global economic loss from Covid", | |
"value": 14000000000000 | |
}, | |
{ | |
"name": "Cost of the Iraq War", | |
"value": 1100000000000 | |
}, | |
{ | |
"name": "USA GDP", | |
"value": 25440000000000 | |
}, | |
{ | |
"name": "Apple Market Cap", | |
"value": 2950000000000 | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title = "The Trouble With Trillions" | |
published_at = 2023-05-21 | |
kind = "bubble-sort" | |
version = 1 | |
copyright = "©2024 Particle.news" | |
units = "USD" | |
[[brackets]] | |
label = "$20 Trillion" | |
threshold = 20_000_000_000_000 | |
[[brackets]] | |
label = "$10 Trillion" | |
threshold = 10_000_000_000_000 | |
[[brackets]] | |
label = "$5 Trillion" | |
threshold = 5_000_000_000_000 | |
[[brackets]] | |
label = "$1 Trillion" | |
threshold = 1_000_000_000_000 | |
[[entities]] | |
name = "Bitcoin Market Cap" | |
value = 1_379_000_000_000 | |
[[entities]] | |
name = "GDP of China" | |
value = 17_900_000_000_000 | |
[[entities]] | |
name = "US National Debt" | |
value = 33_100_000_000_000 | |
[[entities]] | |
name = "US Military Budget" | |
value = 849_600_000_000 | |
[[entities]] | |
name = "GDP of Germany" | |
value = 4_082_000_000_000 | |
[[entities]] | |
name = "Meta Market Cap" | |
value = 1_180_000_000_000 | |
[[entities]] | |
name = "Global economic loss from Covid" | |
value = 14_000_000_000_000 | |
[[entities]] | |
name = "Cost of the Iraq War" | |
value = 1_100_000_000_000 | |
[[entities]] | |
name = "USA GDP" | |
value = 25_440_000_000_000 | |
[[entities]] | |
name = "Apple Market Cap" | |
value = 2_950_000_000_000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment