A brief primer on Plotly.js
Plotly.js (https://plotly.com/javascript/), according to the authors, is an open source, high-level, declarative charting library built on top of the popular D3.js (https://d3js.org/) and stack.gl (https://github.com/stackgl) libraries.
It supports over 40 chart types, including these kinds:
- Basic charts such as scatter plots, line plots, and bar and pie charts
- Statistical graphs such as box plots, histograms, and density plots
- Scientific charts such as heatmaps, log plots, and contour plots
- Financial charts such as waterfall, candlestick, and time-series charts
- Maps such as bubble, choropleth, and Mapbox maps
- Three-dimensional (3D) charts for scatter plots and surface plots, as well as 3D meshes
To use Plotly.js, you need access to the browser's Document Object Model (DOM). This means that Plotly.js is a client-side library, and as such can only be used in the browser via a content delivery network (CDN) script...