Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shot Chart Data #219

Open
germannp opened this issue Jun 9, 2021 · 1 comment
Open

Shot Chart Data #219

germannp opened this issue Jun 9, 2021 · 1 comment

Comments

@germannp
Copy link

germannp commented Jun 9, 2021

Hello,
Are there by any chance plans to make shot chart data of each game also available? Would love to have that data, but I fear I am not skilled enough for implementing this ...
In any case, thanks a lot for this library, makes playing with these data super easy!
Cheers.

@jaebradley
Copy link
Owner

@germannp thanks for opening this issue

As you've probably already seen, the HTML for this shot chart looks something like this

image

It looks like the tooltip positions around shots on the image of the court are calculated using pixels in the style property of the underlying divs.

You could probably convert the pixels into a distance on the court if you knew what the reference point was.

Definitely an interesting resource and idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants