Plotly Interview Question

Basic coding questions along with some OOP