I love D3.js and Data Viz. Recently I was wondering how to draw a rounded-corner bar chart. I found there are already some nice answer in StackOverflow. In brief, you can use instead of when you want it to be rounded-corner. I wrote my CodePen sample as the replication.