Adjust Font Size: A A       Guest settings   Register

The Pro Yakyu Report Vol. 1.11 - Visualizing Velocities Part III

Discussion in the Bayside West: Yokohama forum
The Pro Yakyu Report Vol. 1.11 - Visualizing Velocities Part III
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.

Resources:

Tanaka Masahiro Velocities CSV
D3 API Reference
About

This is a site about Pro Yakyu (Japanese Baseball), not about who the next player to go over to MLB is. It's a community of Pro Yakyu fans who have come together to share their knowledge and opinions with the world. It's a place to follow teams and individuals playing baseball in Japan (and Asia), and to learn about Japanese (and Asian) culture through baseball.

It is my sincere hope that once you learn a bit about what we're about here that you will join the community of contributors.

Michael Westbay
(aka westbaystars)
Founder

Search for Pro Yakyu news and information
Copyright (c) 1995-2024 JapaneseBaseball.com.
This work is licensed under a Creative Commons License.
Some rights reserved.