Dashboard: NBA Team Detail
This dashboard answers the following questions for each team:
- What is the foundation year of the team?
- What is the capacity of the team's arena?
- What is the total number of wins for the team?
- What is the average number of points per game for the team?
- Who are the top 10 most experienced players in the team, and how many years of experience does each have?
- How has the team's performance (in terms of wins) changed over time?
This dashboard contains 4 cards, 1 input and 2 tables.
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/powerpipe-mod-nba
Start the Powerpipe server:
powerpipe server
Open http://localhost:9033 in your browser and select NBA Team Detail dashboard.
You could also snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe dashboard run nba.dashboard.nba_team_detail --share
Queries
This dashboard uses the the following queries:
select country as label, count(*) as valuefrom common_player_infowhere team_id = $1group by countryorder by value desclimit 5;