rebuilt scoreboard using D3