Instantly share code, notes, and snippets.

@PatMartin /.block
Last active Aug 13, 2017

Embed
What would you like to do?
Baseball Be Very Very Good To Me
license: mit

Baseball Be Very Very Good To Me

This is a look at 2015 baseball salaries by team and position.

This also demonstrates the effective combination of data filters and GUI controls on exploring a dataset which isn't so large that the browser chokes on it.

References

Team Position Salary Total Value Average Annual Salary Name
CHC SP 20000000 155000000 25833333 Jon Lester
BOS LF 19750000 88000000 22000000 Hanley Ramirez
DET SP 19750000 19750000 19750000 David Price
BOS 3B 17600000 95000000 19000000 Pablo Sandoval
WSH SP 17142857 210000000 30000000 Max Scherzer
BOS DH 16000000 16000000 16000000 David Ortiz
TEX SS 15333333 120000000 15000000 Elvis Andrus
SEA DH 14250000 57000000 14250000 Nelson Cruz
DET DH 14000000 68000000 17000000 Victor Martinez
MIL 3B 14000000 14000000 14000000 Aramis Ramirez
MIN SP 13500000 55000000 13750000 Ervin Santana
WSH 2B 13250000 13250000 13250000 Dan Uggla
NYY 3B 13000000 52000000 13000000 Chase Headley
CWS LF 13000000 42000000 14000000 Melky Cabrera
TEX SP 13000000 13000000 13000000 Yovani Gallardo
NYY LF 12500000 52000000 13000000 Brett Gardner
LAD SP 12500000 48000000 12000000 Brandon McCarthy
COL SP 12500000 25000000 12500000 Jorge De La Rosa
BOS SP 12500000 12500000 12500000 Rick Porcello
BAL 1B 12000000 12000000 12000000 Chris Davis
PIT SP 11666666 39000000 13000000 Francisco Liriano
WSH SP 11400000 11400000 11400000 Doug Fister
BAL SS 11209424 40000000 13333333 J.J. Hardy
ATL RF 11000000 44000000 11000000 Nick Markakis
OAK CF 11000000 22000000 11000000 Coco Crisp
LAD SS 11000000 11000000 11000000 Jimmy Rollins
MIN RF 10500000 10500000 10500000 Torii Hunter
SD SP 10000000 75000000 18750000 James Shields
CWS RP 10000000 46000000 11500000 David Robertson
LAD SP 10000000 10000000 10000000 Brett Anderson
MIA SP 10000000 10000000 10000000 Dan Haren
CIN SP 10000000 10000000 10000000 Johnny Cueto
SD SP 9850000 9850000 9850000 Ian Kennedy
CWS SP 9800000 9800000 9800000 Jeff Samardzija
CIN SP 9775000 9775000 9775000 Mike Leake
KC RF 9500000 9500000 9500000 Alex Rios
CHC CF 9500000 9500000 9500000 Dexter Fowler
BOS SP 9500000 9500000 9500000 Justin Masterson
MIA SP 9400000 9400000 9400000 Mat Latos
MIN SP 9200000 58000000 11600000 Phil Hughes
NYY RP 9000000 36000000 9000000 Andrew Miller
SF SP 9000000 24000000 12000000 Jake Peavy
CHC SP 9000000 20000000 10000000 Jason Hammel
BOS RP 9000000 18000000 9000000 Koji Uehara
WSH CF 9000000 9000000 9000000 Denard Span
BAL SP 8800000 8800000 8800000 Bud Norris
NYM LF 8500000 21000000 10500000 Michael Cuddyer
PIT SP 8500000 8500000 8500000 A.J. Burnett
OAK RP 8300000 8300000 8300000 Tyler Clippard
BAL C 8275000 8275000 8275000 Matt Wieters
KC RP 8250000 8250000 8250000 Greg Holland
CIN RP 8050000 8050000 8050000 Aroldis Chapman
HOU 2B 8000000 23000000 7666666 Jed Lowrie
HOU LF 8000000 8000000 8000000 Colby Rasmus
OAK CF 7500000 22000000 11000000 Coco Crisp
NYM 2B 8000000 8000000 8000000 Daniel Murphy
PIT 2B 8000000 8000000 8000000 Neil Walker
OAK 2B 7750000 7750000 7750000 Ben Zobrist
SEA CF 7700000 7700000 7700000 Austin Jackson
KC SP 7500000 20000000 10000000 Edinson Volquez
MIA 1B 7500000 16000000 8000000 Michael Morse
MIL 1B 7500000 7500000 7500000 Adam Lind
TB SS 7500000 7500000 7500000 Asdrubal Cabrera
LAD RP 7425000 7425000 7425000 Kenley Jansen
WSH SP 7400000 7400000 7400000 Stephen Strasburg
TOR C 7000000 82000000 16400000 Russell Martin
STL SP 7000000 22000000 7333333 Lance Lynn
SEA SP 7000000 7000000 7000000 Hisashi Iwakuma
LAA RP 7000000 7000000 7000000 Huston Street
DET RP 7000000 7000000 7000000 Joakim Soria
KC RP 7000000 7000000 7000000 Wade Davis
ARI RF 6900000 6900000 6900000 Mark Trumbo
SEA SP 6700000 6700000 6700000 J.A. Happ
OAK DH 6666666 30000000 10000000 Billy Butler
MIA RP 6650000 6650000 6650000 Steve Cishek
MIA RF 6500000 325000000 25000000 Giancarlo Stanton
KC DH 6500000 17000000 8500000 Kendrys Morales
CLE RF 6500000 6500000 6500000 Brandon Moss
LAA 3B 6425000 6425000 6425000 David Freese
MIL LF 6237500 6237500 6237500 Gerardo Parra
LAA CF 6083333 144500000 24083333 Mike Trout
ATL 3B 6000000 23500000 7833333 Chris Johnson
HOU RP 6000000 18500000 6166666 Luke Gregerson
SF RP 6000000 15000000 7500000 Sergio Romo
SEA RF 6000000 13000000 6500000 Seth Smith
MIN C 6000000 12000000 6000000 Kurt Suzuki
COL CF 5825000 5825000 5825000 Drew Stubbs
PIT 1B 5750000 5750000 5750000 Pedro Alvarez
WSH RP 5700000 5700000 5700000 Drew Storen
CHC SP 5685000 5685000 5685000 Travis Wood
KC 1B 5650000 13900000 6950000 Eric Hosmer
ATL SP 5600000 5600000 5600000 Mike Minor
DET SP 5550000 5550000 5550000 Alfredo Simon
ARI OF 5500000 68500000 11416666 Yasmany Tomas
HOU RP 5500000 12500000 6250000 Pat Neshek
COL SP 5500000 5500000 5500000 Kyle Kendrick
DET C 5400000 5400000 5400000 Alex Avila
PIT RP 5400000 5400000 5400000 Mark Melancon
NYM SP 5300000 5300000 5300000 Dillon Gee
SD SP 5250000 5250000 5250000 Tyson Ross
WSH 3B 5000000 13000000 6500000 Yunel Escobar
PHI SP 5000000 5000000 5000000 Aaron Harang
NYY SP 5000000 5000000 5000000 Chris Capuano
NYY 1B 5000000 5000000 5000000 Garrett Jones
NYY 2B 5000000 5000000 5000000 Stephen Drew
BAL LF 5000000 500000 500000 Alejandro De Aza
ARI RP 4875000 4875000 4875000 Addison Reed
SF 3B 4800000 4800000 4800000 Casey McGehee
MIN 3B 4800000 4800000 4800000 Trevor Plouffe
LAA LF 4750000 4750000 4750000 Matt Joyce
BAL SP 4750000 4750000 4750000 Wei-Yin Chen
BAL RP 4650000 4650000 4650000 Tommy Hunter
SEA 3B 4500000 100000000 14285714 Kyle Seager
CWS RP 4500000 15000000 5000000 Zach Duke
CHC RP 4500000 4500000 4500000 Jason Motte
ATL RP 4375000 8000000 4000000 Jason Grilli
BAL SP 4315000 4315000 4315000 Chris Tillman
TOR 3B 4300000 4300000 4300000 Josh Donaldson
ARI SP 4275000 4275000 4275000 Jeremy Hellickson
LAD C 4250000 4250000 4250000 A.J. Ellis
BAL RP 4250000 4250000 4250000 Darren O`Day
NYM 1B 4200000 4200000 4200000 Lucas Duda
HOU 3B 4200000 4200000 4200000 Luis Valbuena
HOU 1B 4175000 4175000 4175000 Chris Carter
STL LF 4125000 10975000 5487500 Jon Jay
TEX RP 4125000 4125000 4125000 Neftali Feliz
PHI LF 4100000 4100000 4100000 Ben Revere
OAK RF 4100000 4100000 4100000 Josh Reddick
SD SP 4050000 4050000 4050000 Andrew Cashner
KC RP 4000000 10000000 5000000 Luke Hochevar
TB SP 4000000 4000000 4000000 Alex Cobb
TEX SP 4000000 4000000 4000000 Colby Lewis
CLE SP 4000000 4000000 4000000 Gavin Floyd
MIA SP 4000000 4000000 4000000 Henderson Alvarez
HOU C 4000000 4000000 4000000 Jason Castro
SF LF 4000000 4000000 4000000 Norichika Aoki
SF SP 4000000 4000000 4000000 Ryan Vogelsong
CHC SP 4000000 4000000 4000000 Tsuyoshi Wada
TOR SP 3900000 3900000 3900000 Marco Estrada
OAK 1B 3800000 3800000 3800000 Ike Davis
CIN 3B 3750000 12000000 6000000 Todd Frazier
NYM RP 3700000 3700000 3700000 Bobby Parnell
BAL LF 3700000 3700000 3700000 Steve Pearce
BOS SP 3666666 19250000 6416666 Wade Miley
CHC SP 3630000 3630000 3630000 Jake Arrieta
SF RF 3600000 7500000 3750000 Gregor Blanco
SF 1B 3600000 3600000 3600000 Brandon Belt
TB RP 3550000 3550000 3550000 Jake McGee
WSH C 3550000 3550000 3550000 Wilson Ramos
MIL RP 3500000 13000000 6500000 Francisco Rodriguez
WSH RP 3500000 7000000 3500000 Matt Thornton
STL RP 3500000 3500000 3500000 Matt Belisle
CLE SS 3500000 3500000 3500000 Mike Aviles
TEX SP 3450000 3450000 3450000 Ross Detwiler
NYY SP 3300000 3300000 3300000 Ivan Nova
NYY SP 3300000 3300000 3300000 Nathan Eovaldi
ARI SS 3275000 3275000 3275000 Cliff Pennington
BAL RP 3200000 3200000 3200000 Brian Matusz
LAA SP 3200000 3200000 3200000 Garrett Richards
BAL RP 3200000 3200000 3200000 Zach Britton
SF SS 3175000 3175000 3175000 Brandon Crawford
TB C 3175000 3175000 3175000 John Jaso
COL C 3100000 6250000 3125000 Nick Hundley
PIT RP 3100000 3100000 3100000 Antonio Bastardo
TB LF 3100000 3100000 3100000 Desmond Jennings
TB RP 3025000 3025000 3025000 Kevin Jepsen
ATL 3B 3000000 3000000 3000000 Alberto Callaspo
CWS 2B 3000000 3000000 3000000 Emilio Bonifacio
DET RF 3000000 3000000 3000000 J.D. Martinez
MIL RP 3000000 3000000 3000000 Neal Cotts
TEX 1B 2950000 2950000 2950000 Mitch Moreland
TOR RF 2875000 2875000 2875000 Michael Saunders
SD RP 2835000 2835000 2835000 Shawn Kelley
PIT 2B 2800000 27300000 6825000 Josh Harrison
COL 1B 2800000 2800000 2800000 Wilin Rosario
MIN SP 2775000 2775000 2775000 Tommy Milone
SEA 1B 2725000 2725000 2725000 Logan Morrison
KC CF 2725000 2725000 2725000 Lorenzo Cain
MIN RP 2700000 2700000 2700000 Brian Duensing
STL RP 2675000 6600000 3300000 Jordan Walden
CWS C 2675000 2675000 2675000 Tyler Flowers
TB SP 2650000 2650000 2650000 Drew Smyly
KC 3B 2640000 2640000 2640000 Mike Moustakas
CHC RF 2600000 2600000 2600000 Chris Denorfia
SEA LF 2600000 2600000 2600000 Dustin Ackley
COL RP 2600000 2600000 2600000 John Axford
NYM RP 2595000 2595000 2595000 Jenrry Mejia
CIN C 2525000 28000000 7000000 Devin Mesoraco
LAD 2B 2525000 2525000 2525000 Darwin Barney
CHC RP 2525000 2525000 2525000 Pedro Strop
CHC LF 2505000 2505000 2505000 Chris Coghlan
SEA RF 2505000 2505000 2505000 Justin Ruggiano
PIT 3B 2500000 11000000 2750000 Jung-ho Kang
WSH RF 2500000 7500000 3750000 Bryce Harper
CHC C 2500000 5000000 2500000 David Ross
WSH 2B 2500000 2500000 2500000 Anthony Rendon
LAD SP 2500000 2500000 2500000 Brandon Beachy
SD SP 2500000 2500000 2500000 Brandon Morrow
NYY RF 2500000 2500000 2500000 Chris Young
PIT RF 2500000 2500000 2500000 Corey Hart
MIA 2B 2500000 2500000 2500000 Dee Gordon
PHI RF 2500000 2500000 2500000 Domonic Brown
PHI SP 2500000 2500000 2500000 Jerome Williams
LAD RP 2500000 2500000 2500000 Joel Peralta
LAD 3B 2500000 2500000 2500000 Justin Turner
TOR RP 2475000 2475000 2475000 Brett Cecil
COL SP 2475000 2475000 2475000 Jordan Lyles
PIT SP 2450000 2450000 2450000 Vance Worley
KC SP 2425000 2425000 2425000 Danny Duffy
BAL SS 2400000 2400000 2400000 Everth Cabrera
NYM RP 2400000 2400000 2400000 Jerry Blevins
CLE RP 2400000 2400000 2400000 Marc Rzepczynski
HOU RP 2400000 2400000 2400000 Tony Sipp
MIA RP 2350000 5800000 2900000 Mike Dunn
CIN SS 2350000 2350000 2350000 Zack Cozart
CLE SP 2337500 22000000 5500000 Carlos Carrasco
LAD RP 2300000 2300000 2300000 Juan Nicasio
LAA SP 2290000 2290000 2290000 Hector Santiago
WSH RP 2250000 2250000 2250000 Craig Stammen
BAL RF 2250000 2250000 2250000 Delmon Young
BOS RP 2250000 2250000 2250000 Junichi Tazawa
COL RP 2250000 2250000 2250000 LaTroy Hawkins
CLE 3B 2250000 2250000 2250000 Lonnie Chisenhall
CHC RP 2250000 2250000 2250000 Phil Coke
MIN RP 2200000 2200000 2200000 Tim Stauffer
OAK SP 2150000 2150000 2150000 Jesse Chavez
NYY SP 2100000 2100000 2100000 Michael Pineda
BAL RF 2100000 2100000 2100000 Travis Snider
CHC C 2100000 2100000 2100000 Welington Castillo
SF RP 2100000 2100000 2100000 Yusmeiro Petit
ATL OF 2000000 62500000 10416667 Hector Olivera
MIN 2B 2000000 20000000 5000000 Brian Dozier
KC RP 2000000 8500000 4250000 Kris Medlen
ATL C 2000000 2000000 2000000 A.J. Pierzynski
STL RP 2000000 2000000 2000000 Carlos Villanueva
BOS RP 2000000 2000000 2000000 Craig Breslow
ARI RP 2000000 2000000 2000000 David Hernandez
ATL SP 2000000 2000000 2000000 Eric Stults
CWS 3B 2000000 2000000 2000000 Gordon Beckham
PHI RF 2000000 2000000 2000000 Grady Sizemore
MIA RF 2000000 2000000 2000000 Ichiro Suzuki
STL 1B 2000000 2000000 2000000 Mark Reynolds
SEA LF 2000000 2000000 2000000 Rickie Weeks
MIA RP 1975000 1975000 1975000 Aaron Crow
CWS P 1950000 1950000 1950000 Hector Noesi
CLE SP 1940000 1940000 1940000 Trevor Bauer
MIA SS 1925000 1925000 1925000 Adeiny Hechavarria
OAK 3B 1925000 1925000 1925000 Brett Lawrie
PIT 1B 1900000 1900000 1900000 Sean Rodriguez
NYM SS 1880000 1880000 1880000 Ruben Tejada
BOS RF 1850000 1850000 1850000 Daniel Nava
KC RP 1850000 1850000 1850000 Franklin Morales
WSH 2B 1800000 1800000 1800000 Danny Espinosa
OAK CF 1750000 1750000 1750000 Sam Fuld
PIT RP 1750000 1750000 1750000 Tony Watson
DET RP 1725000 1725000 1725000 Al Alburquerque
BAL RP 1700000 1700000 1700000 Wesley Wright
TOR 3B 1675000 1675000 1675000 Danny Valencia
STL CF 1650000 1650000 1650000 Peter Bourjos
SD 1B 1650000 1650000 1650000 Yonder Alonso
KC RP 1600000 4150000 2075000 Kelvin Herrera
OAK CF 1600000 1600000 1600000 Craig Gentry
ATL RP 1600000 1600000 1600000 Jim Johnson
CLE RP 1550000 1550000 1550000 Bryan Shaw
MIN CF 1550000 1550000 1550000 Jordan Schafer
COL SS 1500000 3600000 1800000 Daniel Descalso
BOS RP 1500000 1500000 1500000 Alexi Ogando
PHI SP 1500000 1500000 1500000 Chad Billingsley
CWS C 1500000 1500000 1500000 Geovany Soto
CIN SP 1500000 1500000 1500000 Jason Marquis
MIA C 1500000 1500000 1500000 Jeff Mathis
CLE SP 1500000 1500000 1500000 Josh Tomlin
ATL 3B 1500000 1500000 1500000 Kelly Johnson
CIN RP 1500000 1500000 1500000 Kevin Gregg
CWS RP 1500000 1500000 1500000 Matt Albers
NYY RP 1480000 1480000 1480000 Esmil Rogers
KC RP 1475000 1475000 1475000 Tim Collins
NYM LF 1450000 1450000 1450000 John Mayberry Jr.
DET SS 1443750 1443750 1443750 Jose Iglesias
MIA SP 1400000 1400000 1400000 David Phelps
SEA RP 1400000 1400000 1400000 Tom Wilhelmsen
MIN RP 1375000 1375000 1375000 Casey Fien
SD RP 1375000 1375000 1375000 Dale Thayer
LAA RP 1370000 1370000 1370000 Fernando Salas
LAA RP 1312500 1312500 1312500 Cesar Ramos
COL RP 1300000 1300000 1300000 Adam Ottavino
SEA RP 1300000 1300000 1300000 Charlie Furbush
SD SS 1300000 1300000 1300000 Clint Barmes
NYY RP 1275000 1275000 1275000 David Carpenter
CIN RF 1250000 1250000 1250000 Brennan Boesch
MIA 3B 1250000 1250000 1250000 Don Kelly
KC RP 1250000 1250000 1250000 Jason Frasor
HOU SP 1250000 1250000 1250000 Roberto Hernandez
PIT C 1225000 1225000 1225000 Chris Stewart
KC CF 1225000 1225000 1225000 Jarrod Dyson
WSH C 1200000 1200000 1200000 Jose Lobaton
SD SS 1150000 2500000 1250000 Alexi Amarista
LAA RP 1150000 1150000 1150000 Vinnie Pestano
TB 2B 1100000 1100000 1100000 Logan Forsythe
SF 1B 1100000 1100000 1100000 Travis Ishikawa
COL C 1087600 1087600 1087600 Michael McKenry
OAK RP 1087500 1087500 1087500 Fernando Abad
OAK 2B 1075000 1075000 1075000 Eric Sogard
HOU C 1075000 1075000 1075000 Hank Conger
PIT RP 1075000 1075000 1075000 Jared Hughes
BAL 2B 1075000 1075000 1075000 Ryan Flaherty
HOU SS 1062500 1062500 1062500 Marwin Gonzalez
MIN SS 1025000 1025000 1025000 Eduardo Nunez
CLE SP 1000000 38500000 7700000 Corey Kluber
COL SP 1000000 2000000 1000000 Tyler Chatwood
ATL CF 1000000 1000000 1000000 Eric Young Jr.
ARI C 1000000 1000000 1000000 Gerald Laird
CHC SP 1000000 1000000 1000000 Jacob Turner
DET RP 1000000 1000000 1000000 Joba Chamberlain
HOU RP 1000000 1000000 1000000 Joe Thatcher
SD SP 1000000 1000000 1000000 Josh Johnson
SF RF 1000000 1000000 1000000 Justin Maxwell
TOR 1B 1000000 1000000 1000000 Justin Smoak
TEX RP 1000000 1000000 1000000 Kyuji Fujikawa
PIT RP 1000000 1000000 1000000 Radhames Liz
COL RP 1000000 1000000 1000000 Rafael Betancourt
WSH LF 1000000 1000000 1000000 Reed Johnson
DET RP 1000000 1000000 1000000 Tom Gorzelanny
LAA LF 995000 995000 995000 Collin Cowgill
LAA C 987500 987500 987500 Drew Butera
PIT C 987500 987500 987500 Francisco Cervelli
TEX C 975000 975000 975000 Carlos Corporan
CWS P 937500 937500 937500 Javy Guerra
PHI RF 925000 925000 925000 Jeff Francoeur
ATL RP 925000 925000 925000 Josh Outman
TEX 3B 900000 900000 900000 Adam Rosales
CLE RP 900000 900000 900000 Anthony Swarzak
CHC 2B 900000 900000 900000 Jonathan Herrera
ARI C 900000 900000 900000 Jordan Pacheco
PHI SS 850000 850000 850000 Andres Blanco
OAK SP 850000 850000 850000 Jarrod Parker
KC RP 850000 850000 850000 Ryan Madson
SD C 850000 850000 850000 Wil Nieves
MIL C 825000 1950000 975000 Martin Maldonado
ARI RP 800000 800000 800000 Daniel Hudson
TB RP 800000 800000 800000 Ernesto Frieri
SF C 800000 800000 800000 Hector Sanchez
PHI RP 800000 800000 800000 Jeanmar Gomez
STL C 775000 775000 775000 Tony Cruz
KC SP 750000 23000000 4600000 Yordano Ventura
MIN RP 750000 750000 750000 Blaine Boyer
TEX RP 725000 725000 725000 Anthony Bass
NYM RP 725000 725000 725000 Buddy Carlyle
TB C 700000 700000 700000 Bobby Wilson
LAD C 693000 693000 693000 Yasmani Grandal
KC SP 675000 675000 675000 Chris Young
CWS RP 660000 660000 660000 Nate Jones
MIA LF 651000 49570000 7081428 Christian Yelich
MIA SP 651000 651000 651000 Jose Fernandez
SF P 650000 650000 650000 Erik Cordier
NYM SP 614125 614125 614125 Matt Harvey
BOS SP 603000 603000 603000 Joe Kelly
TEX CF 600000 600000 600000 Antoan Richardson
PHI RP 600000 600000 600000 Dustin McGowan
NYM RP 582125 582125 582125 Carlos Torres
BOS RP 576500 576500 576500 Anthony Varvaro
PHI RP 575000 575000 575000 Cesar Jimenez
NYY SP 572600 572600 572600 Adam Warren
MIA SP 570000 570000 570000 Tom Koehler
BOS RP 566500 566500 566500 Robbie Ross Jr.
CWS LF 560000 23500000 4700000 Adam Eaton
BOS RP 557000 557000 557000 Tommy Layne
NYY RP 556000 556000 556000 Justin Wilson
CWS 3B 555000 555000 555000 Conor Gillaspie
MIA CF 555000 555000 555000 Marcell Ozuna
NYY SS 553900 553900 553900 Didi Gregorius
MIN CF 550000 550000 550000 Shane Robinson
BAL 3B 548000 548000 548000 Manny Machado
CLE RP 547100 547100 547100 Cody Allen
NYM SP 546250 546250 546250 Zack Wheeler
CIN CF 545000 545000 545000 Billy Hamilton
SD C 545000 545000 545000 Derek Norris
CHC RP 544000 544000 544000 Hector Rondon
BOS SS 543000 543000 543000 Xander Bogaerts
SD 3B 540500 540500 540500 Will Middlebrooks
MIA SP 540000 540000 540000 Jarred Cosart
PIT SS 538000 538000 538000 Jordy Mercer
LAA RF 537500 537500 537500 Kole Calhoun
MIN SP 537500 537500 537500 Kyle Gibson
PHI RP 535500 535500 535500 Jake Diekman
CIN RP 535000 535000 535000 J.J. Hoover
ATL SP 535000 535000 535000 Shelby Miller
STL RP 535000 535000 535000 Trevor Rosenthal
MIL SS 534000 534000 534000 Jean Segura
STL 1B 534000 534000 534000 Matt Adams
MIN LF 532500 532500 532500 Eduardo Escobar
KC C 532500 532500 532500 Erik Kratz
MIN LF 532500 532500 532500 Oswaldo Arcia
NYM SP 531875 531875 531875 Jacob deGrom
MIA RP 531500 531500 531500 Bryan Morris
MIA SS 531500 531500 531500 Donovan Solano
CHC RP 531500 531500 531500 Justin Grimm
PIT SP 531000 531000 531000 Gerrit Cole
PIT SP 531000 531000 531000 Jeff Locke
MIA RP 530000 530000 530000 A.J. Ramos
MIN SS 530000 530000 530000 Danny Santana
ATL RP 530000 530000 530000 Luis Avilan
STL RP 530000 530000 530000 Seth Maness
WSH RP 529600 529600 529600 Tanner Roark
NYM CF 528696 23553696 4710739 Juan Lagares
PHI RP 528000 528000 528000 Justin De Fratus
SEA SS 527600 527600 527600 Brad Miller
SF RP 527500 527500 527500 Jean Machi
SEA RP 527300 527300 527300 Yoervis Medina
TOR RP 527000 527000 527000 Aaron Loup
SEA RP 527000 527000 527000 Danny Farquhar
HOU DH 526500 526500 526500 Evan Gattis
ARI RP 526000 526000 526000 Randall Delgado
BAL LF 525500 525500 525500 David Lough
CIN RP 525500 525500 525500 Tony Cingrani
MIL SP 525500 525500 525500 Wily Peralta
NYM C 525424 525424 525424 Travis d`Arnaud
NYM LF 525415 525415 525415 Kirk Nieuwenhuis
SD RP 525300 525300 525300 Nick Vincent
HOU RP 525100 525100 525100 Samuel Deduno
WSH LF 525000 525000 525000 Clint Robinson
PIT RF 525000 525000 525000 Gregory Polanco
DET 3B 525000 525000 525000 Nick Castellanos
CWS RP 525000 525000 525000 Zach Putnam
HOU SP 524500 524500 524500 Dallas Keuchel
ARI SP 524000 524000 524000 Patrick Corbin
NYM RP 523925 523925 523925 Jeurys Familia
SEA C 523500 523500 523500 Mike Zunino
CWS RF 523000 523000 523000 Avisail Garcia
BAL RP 523000 523000 523000 Brad Brach
CWS RP 523000 523000 523000 Dan Jennings
NYM RP 522900 522900 522900 Alex Torres
TB SP 522800 522800 522800 Erasmo Ramirez
LAD RP 522500 522500 522500 Chris Hatcher
LAD P 522500 522500 522500 Chris Withrow
CIN CF 522500 522500 522500 Jason Bourgeois
SF 2B 522500 522500 522500 Joe Panik
LAD RP 522500 522500 522500 Paco Rodriguez
LAD LF 522500 522500 522500 Scott Van Slyke
TB SP 522000 522000 522000 Jake Odorizzi
BAL RP 522000 522000 522000 Kevin Gausman
STL SS 522000 522000 522000 Pete Kozma
TB RP 521400 521400 521400 Brad Boxberger
NYM RP 520625 520625 520625 Josh Edgin
PIT SP 520500 520500 520500 Brandon Cumpton
CLE RP 520400 520400 520400 Zach McAllister
MIN RP 520000 520000 520000 Aaron Thompson
ATL SP 520000 520000 520000 Alex Wood
DET SS 520000 520000 520000 Andrew Romine
MIA RP 520000 520000 520000 Brad Hand
STL SP 520000 520000 520000 Carlos Martinez
CWS RP 520000 520000 520000 Jake Petricka
STL 2B 520000 520000 520000 Kolten Wong
STL SP 520000 520000 520000 Michael Wacha
CHC 3B 520000 520000 520000 Mike Olt
TOR RP 520000 520000 520000 Todd Redmond
SD CF 519800 519800 519800 Wil Myers
TEX RP 519700 519700 519700 Shawn Tolleson
ARI CF 519500 519500 519500 A.J. Pollock
MIL LF 519500 519000 519000 Khris Davis
PHI RP 519000 519000 519000 Ken Giles
NYY C 518700 518700 518700 John Ryan Murphy
PIT SS 518500 518500 518500 Justin Sellers
TOR RP 518400 518400 518400 Liam Hendriks
TEX C 518290 518290 518290 Robinson Chirinos
CWS P 518200 518200 518200 Kyle Drabek
WSH LF 518200 518200 518200 Tyler Moore
STL RP 518000 518000 518000 Kevin Siegrist
PIT C 518000 518000 518000 Tony Sanchez
NYM C 517880 517880 517880 Anthony Recker
OAK SP 517500 517500 517500 A.J. Griffin
COL CF 517500 517500 517500 Charlie Blackmon
PHI LF 517500 517500 517500 Cody Asche
COL 2B 517500 517500 517500 DJ LeMahieu
OAK SP 517500 517500 517500 Drew Pomeranz
SF RP 517500 517500 517500 George Kontos
LAA SP 517500 517500 517500 Matt Shoemaker
PIT RP 517500 517500 517500 Rob Scahill
SD SP 517300 517300 517300 Odrisamer Despaigne
TOR 2B 517300 517300 517300 Steve Tolleson
CLE RP 517100 517100 517100 Nick Hagadone
MIN 1B 517000 517000 517000 Kennys Vargas
HOU RP 516700 516700 516700 Josh Fields
MIL 2B 516500 516500 516500 Scooter Gennett
WSH RP 516500 516500 516500 Xavier Cedeno
SD 1B 516400 516400 516400 Yangervis Solarte
HOU SP 516300 516300 516300 Collin McHugh
LAA 2B 516250 516250 516250 Johnny Giavotella
CWS P 516000 516000 516000 Eric Surkamp
CWS RF 516000 516000 516000 J.B. Shuck
ARI SP 516000 516000 516000 Rubby De La Rosa
HOU SP 515800 515800 515800 Brad Peacock
TB LF 515800 515800 515800 Brandon Guyer
HOU SP 515800 515800 515800 Brett Oberholtzer
PIT RP 515500 515500 515500 Arquimedes Caminero
NYM RP 515500 515500 515500 Vic Black
TEX RP 515200 515200 515200 Tanner Scheppers
PIT RF 515000 515000 515000 Andrew Lambo
DET CF 515000 515000 515000 Anthony Gose
BAL C 515000 515000 515000 Caleb Joseph
PHI LF 515000 515000 515000 Darin Ruf
DET RP 515000 515000 515000 Ian Krol
BAL 2B 515000 515000 515000 Jimmy Paredes
BAL 2B 515000 515000 515000 Jonathan Schoop
TEX SP 515000 515000 515000 Nick Martinez
HOU LF 515000 515000 515000 Robbie Grossman
DET SP 515000 515000 515000 Shane Greene
LAA SP 515000 515000 515000 Tyler Skaggs
TOR SP 514700 514700 514700 Marcus Stroman
BOS CF 514500 514500 514500 Mookie Betts
CHC RP 514500 514500 514500 Neil Ramirez
ARI C 514500 514500 514500 Tuffy Gosewisch
WSH RP 514200 514200 514200 Aaron Barrett
LAA RP 514000 514000 514000 Mike Morin
BAL C 514000 514000 514000 Steve Clevenger
HOU RP 513900 513900 513900 Will Harris
TEX 2B 513850 513850 513850 Rougned Odor
TB CF 513800 513800 513800 Kevin Kiermaier
TB RP 513600 513600 513600 Jeff Beliveau
NYM SS 513543 513543 513543 Wilmer Flores
PHI SS 513500 513500 513500 Freddy Galvis
SEA SP 513100 513100 513100 Taijuan Walker
LAA RP 513000 513000 513000 Cory Rasmus
ARI LF 513000 513000 513000 Ender Inciarte
HOU SS 513000 513000 513000 Jonathan Villar
CHC 2B 513000 513000 513000 Tommy La Stella
HOU RF 512900 512900 512900 George Springer
WSH RP 512800 512800 512800 Blake Treinen
TB RP 512800 512800 512800 Kirby Yates
WSH LF 512792 512792 512792 Matt den Dekker
LAA DH 512500 512500 512500 C.J. Cron
COL 3B 512500 512500 512500 Charlie Culberson
ARI SP 512500 512500 512500 Chase Anderson
ARI 2B 512500 512500 512500 Chris Owings
COL RP 512500 512500 512500 Christian Friedrich
BOS C 512500 512500 512500 Christian Vazquez
COL LF 512500 512500 512500 Corey Dickerson
OAK RP 512500 512500 512500 Dan Otero
PHI SP 512500 512500 512500 David Buchanan
COL SP 512500 512500 512500 David Hale
SEA RP 512500 512500 512500 Edgar Olmos
OAK RP 512500 512500 512500 Evan Scribner
CIN SS 512500 512500 512500 Kristopher Negron
PHI RP 512500 512500 512500 Mario Hollands
MIL SP 512500 512500 512500 Mike Fiers
OAK 1B 512500 512500 512500 Nate Freiman
COL 3B 512500 512500 512500 Nolan Arenado
LAD RP 512500 512500 512500 Pedro Baez
OAK SP 512500 512500 512500 Sonny Gray
OAK C 512500 512500 512500 Stephen Vogt
MIL RP 512500 512500 512500 Will Smith
SEA SS 512400 512400 512400 Chris Taylor
SD C 512400 512400 512400 Tim Federowicz
ARI LF 512000 512000 512000 David Peralta
ARI RP 512000 512000 512000 Evan Marshall
MIL P 512000 512000 512000 Jim Henderson
TOR CF 512000 512000 512000 Kevin Pillar
CLE SP 511900 511900 511900 T.J. House
MIL SP 511500 511500 511500 Jimmy Nelson
CLE SS 511300 511300 511300 Jose Ramirez
HOU CF 511200 511200 511200 Jake Marisnick
NYY RP 511025 511025 511025 Chris Martin
LAA LF 511000 511000 511000 Efren Navarro
NYM RP 511000 511000 511000 Rafael Montero
CLE RP 510900 510900 510900 Kyle Crockett
TB 2B 510900 510900 510900 Nick Franklin
TOR RP 510800 510800 510800 Aaron Sanchez
TB SP 510800 510800 510800 Alex Colome
TOR RP 510800 510800 510800 Colt Hynes
MIL RP 510500 510500 510500 Jeremy Jeffress
MIL CF 510500 510500 510500 Logan Schafer
ARI RP 510500 510500 510500 Matt Stites
BOS SP 510500 510500 510500 Steven Wright
MIL RP 510500 510500 510500 Tyler Thornburg
BOS C 510400 510400 510400 Sandy Leon
NYY RP 510275 510275 510275 Chasen Shreve
CWS 2B 510000 510000 510000 Carlos Sanchez
PHI 2B 510000 510000 510000 Cesar Hernandez
CIN 3B 510000 510000 510000 Chris Dominguez
MIN C 510000 510000 510000 Chris Herrmann
NYY 2B 510000 510000 510000 Gregorio Petit
PIT LF 510000 510000 510000 Jaff Decker
LAD CF 510000 510000 510000 Joc Pederson
PHI SP 510000 510000 510000 Jonathan Pettibone
NYY 2B 510000 510000 510000 Jose Pirela
OAK C 510000 510000 510000 Josh Phegley
CIN RP 510000 510000 510000 Jumbo Diaz
CHC SP 510000 510000 510000 Kyle Hendricks
OAK SS 510000 510000 510000 Marcus Semien
STL RF 510000 510000 510000 Randal Grichuk
LAD RP 510000 510000 510000 Yimi Garcia
CLE SS 509600 509600 509600 Zach Walters
KC SS 509525 509525 509525 Christian Colon
COL RP 509500 509500 509500 Brooks Brown
SEA RP 509500 509500 509500 Carson Smith
COL RP 509500 509500 509500 Christian Bergman
COL SP 509500 509500 509500 Eddie Butler
LAA RP 509500 509500 509500 Jose Alvarez
TEX SP 509500 509500 509500 Phil Klein
COL LF 509500 509500 509500 Rafael Ynoa
TEX RP 509500 509500 509500 Roman Mendez
COL SP 509500 509500 509500 Tyler Matzek
SEA C 509300 509300 509300 Jesus Sucre
PHI RP 509000 509000 509000 Luis Garcia
SF 3B 509000 509000 509000 Matt Duffy
WSH RP 508900 508900 508900 Erik Davis
TB RP 508900 508900 508900 Steve Geltz
TB SP 508800 508800 508800 Nathan Karns
ATL RP 508750 508750 508750 Shae Simmons
TOR SP 508700 508700 508700 Daniel Norris
WSH RF 508700 508700 508700 Michael Taylor
TB RF 508700 508700 508700 Steven Souza Jr.
CLE C 508600 508600 508600 Roberto Perez
SD 2B 508500 508500 508500 Cory Spangenberg
CHC SP 508500 508500 508500 Dallas Beeler
TOR CF 508500 508500 508500 Dalton Pompey
BOS RP 508500 508500 508500 Edwin Escobar
SD RP 508500 508500 508500 Frank Garces
DET 3B 508500 508500 508500 Hernan Perez
ARI 3B 508500 508500 508500 Jake Lamb
TEX LF 508500 508500 508500 Jake Smolinski
TEX RP 508500 508500 508500 Lisalverto Bonilla
MIL 3B 508500 508500 508500 Luis Jimenez
CHC LF 508500 508500 508500 Matt Szczur
MIL RP 508500 508500 508500 Michael Blazek
ARI SS 508500 508500 508500 Nick Ahmed
TEX LF 508500 508500 508500 Ryan Rua
TB 2B 508100 508100 508100 Tim Beckham
PHI C 508000 508000 508000 Cameron Rupp
ARI RP 507500 507500 507500 Andrew Chafin
ATL RP 507500 507500 507500 Andrew McKirahan
DET RP 507500 507500 507500 Angel Nesbitt
CIN SP 507500 507500 507500 Anthony DeSclafani
HOU SP 507500 507500 507500 Asher Wojciechowski
OAK CF 507500 507500 507500 Billy Burns
ATL C 507500 507500 507500 Christian Bethancourt
ATL RP 507500 507500 507500 Cody Martin
ATL RP 507500 507500 507500 Daniel Winkler
TEX CF 507500 507500 507500 Delino DeShields Jr.
NYY RP 507500 507500 507500 Dellin Betances
TOR 2B 507500 507500 507500 Devon Travis
LAA RP 507500 507500 507500 Drew Rucinski
MIL 2B 507500 507500 507500 Hector Gomez
MIN RP 507500 507500 507500 J.R. Graham
ATL 2B 507500 507500 507500 Jace Peterson
DET C 507500 507500 507500 James McCann
BAL RP 507500 507500 507500 Jason Garcia
ATL LF 507500 507500 507500 Joey Terdoslavich
STL SP 507500 507500 507500 John Lackey
ATL RP 507500 507500 507500 Juan Jaime
OAK SP 507500 507500 507500 Kendall Graveman
TEX RP 507500 507500 507500 Keone Kela
TEX RP 507500 507500 507500 Logan Verrett
OAK 1B 507500 507500 507500 Mark Canha
TB SP 507500 507500 507500 Matt Andriese
CWS 2B 507500 507500 507500 Micah Johnson
TOR RP 507500 507500 507500 Miguel Castro
PHI CF 507500 507500 507500 Odubel Herrera
ARI C 507500 507500 507500 Oscar Hernandez
KC RF 507500 507500 507500 Paulo Orlando
ATL 2B 507500 507500 507500 Phil Gosselin
OAK RP 507500 507500 507500 R.J. Alvarez
TOR RP 507500 507500 507500 Roberto Osuna
MIA RP 507500 507500 507500 Sam Dyson
OAK SP 507500 507500 507500 Sean Nolin
LAA 3B 507500 507500 507500 Taylor Featherston
OAK RP 507500 507500 507500 Taylor Thompson
STL CF 507500 507500 507500 Thomas Pham
OAK 2B 507500 507500 507500 Tyler Ladendorf
SEA RP 507500 507500 507500 Tyler Olson
<!DOCTYPE html>
<html>
<head>
<style>
html, body, #Chart {
height: 100%;
min-height: 100%;
width: 100%;
min-width: 100%;
}
#Chart {
display: inline-block;
}
</style>
<title>dex.js : Clustered Force</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.4/jquery-ui.theme.min.css">
<link rel="stylesheet" href="https://dexjs.net/js/dex-jquery.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.css"/>
<link rel="stylesheet" href="https://dexjs.net/js/dex-bootstrap.css">
<link rel="stylesheet" href="https://dexjs.net/js/dex.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<script src="https://dexjs.net/js/dex-jquery.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://dexjs.net/js/dex-bootstrap.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js"></script>
<script src="https://dexjs.net/js/dex-libs.js"></script>
<script src="https://dexjs.net/js/dex.js"></script>
</head>
<body>
<div class="ui-layout-center">
<div id="Legend"></div>
<div id="Chart"></div>
</div>
<div class="ui-layout-west">
<div id="ConfigurationPane"></div>
</div>
<script>
d3.csv("baseball-salaries-2015.csv", function (error, data) {
var crime = new dex.csv(data);
$(document).ready(function () {
$('body').layout({
applyDemoStyles: false,
west: {
size: 335
},
onresize: function () {
chart.resize();
}
});
var chart = dex.charts.d3.ClusteredForce({
'parent': '#Chart',
'csv': crime
}).render();
var legend = dex.charts.d3.Legend({
'parent': '#Legend',
eventSources: [chart]
}
);
legend.render();
chart.subscribe(legend, "mouseover", function(event) {
chart.highlight(event.text);
});
chart.subscribe(legend, "mouseout", function(event) {
chart.highlight();
});
var configPane = dex.ui.ConfigurationPane({
"parent": "#ConfigurationPane",
"csv": crime,
"components": [legend, chart]
}).render();
});
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment