after much experimenting with D3 a working spider and bar chart