Plotly Test Page

Aug 10, 2020

Plotly is interesting because it can be used to store and display data on a page in the form of pure static HTML page, making it extremely lightweight and fast to use.

This is a test using plotly on this Jekyll-created static page to just test out what it looks like. Absolutely no server apps were used or harmed in the making of this page.

Plotly Test Plot Above

The following data strings were entered into the function above to generate the above chart. Below is the entirety of the data you are seeing above.

var trace1 = { x: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov',
'Dec'], y: [20, 14, 25, 16, 18, 22, 19, 15, 12, 16, 14, 17], type: 'bar', name:
'Primary Product', marker: { color: 'rgb(49,130,189)', opacity: 0.7, } };

var trace2 = { x: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov',
'Dec'], y: [19, 14, 22, 14, 16, 19, 15, 14, 10, 12, 12, 16], type: 'bar', name:
'Secondary Product', marker: { color: 'rgb(204,204,204)', opacity: 0.5 } };

Check out my Portfolio