Michael Westbay has been blogging about Pro Yakyu since before the word "blog" entered the vernacular. Here he writes about Pro Yakyu in general, and the Yokohama BayStars in particular.
The Pro Yakyu Report Vol. 1.11 - Visualizing Velocities Part III
0 replies.
This week I divide up Ma-kun's pitches by type and evoke some animation magic with d3.js.
1. The CSV file is expanded to include pitch types.
2. HTML and CSS added around the charts: (a) Header, (b) Pitch type indictor, (c) Button for switching pitch type.
3. "data" variable moved to be global and supporting variables added.
4. Chart displays initial pitch type.
5. Button triggers data toggle and transformation.
1. The CSV file is expanded to include pitch types.
2. HTML and CSS added around the charts: (a) Header, (b) Pitch type indictor, (c) Button for switching pitch type.
3. "data" variable moved to be global and supporting variables added.
4. Chart displays initial pitch type.
5. Button triggers data toggle and transformation.
Resources:
Tanaka Masahiro Velocities CSV
D3 API Reference