new rendering style with d3 which actually works