using d3 to create bar chart, line chart, area chart, stacked chart, all charts are dynamic, you can add dataset, remove dataset, and apply other user interaction with the charts
Try each one of them with the link below
- stacked chart https://codepen.io/sashagi/pen/qBNgxNO
- area chart https://codepen.io/sashagi/pen/rNLPJLE
- line chart https://codepen.io/sashagi/pen/zYBeRoO
- grouped bar chart https://codepen.io/sashagi/pen/wvWNyom