swingley / baseball-sparklines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

##Baseball Sparklines

Baseball season results visualized as sparklines. This is a d3-based copy of the charts shown on p. 174 of The Visual Display of Quantative Information by Edward Tufte (2nd ed.) as well as p. 54 of Beautiful Evidence.

All post-deadball era (1919 – 2019) seasons are available. Enough babbling, check it out! Use the "Change Year" button in the upper-right to select a year (or fiddle with the query string such as ?year=2001).

On larger screens, tap a chart to make it bigger. Here's a gif showing that effect in action:

Win-loss data was scraped from baseball-reference.

About


Languages

Language:JavaScript 84.1%Language:CSS 11.8%Language:HTML 4.2%