The most basic boxplot you can do in d3.js. Keeping only the core code. Starts with an array of data.
With several group
A boxplot with several groups. It extends the technique used on the previous chart. The tricky part is to computed summary statistics for each group.
Here is the template I'm starting with when in need for a boxplot in my work. See the code here.