If you have several groups to display on your area chart, it is possible to stack them. But it makes it harder to study the evolution of each group separately. Using small multiple is a very good alternative, and this post describes how to implement it in d3.js. This example works with d3.js v4
and v6