remove console.log, add triangle mean for stacked dot plot