Have used C3 and D3 in recent projects.
How - APIs are fairly simple, imported them through either npm / bower and followed the visualizations needed
Why - Advancements in browser capabilities that enable cross platform interactive charts
There are lot many other charts libraries as well which are popular such as Highcharts and Fusion Charts