Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Use Plotly to create charts with DataTables or Tabular Form Data

I am currently using Google Sheets API and Google visualization library to plot graphs on angular side. I want to move it to Nodejs side thinking about using plotly. As I am dealing three types of graphs
1: Pie Charts, 2: Line Charts, 3: Bar Charts.
As Data is being passed in form of Data Tables in Google sheets api and sample of data is mentioned below
W1, W2, W3, W4, W1, W2, W3, W4, W1, W2, W3, W4, W1, W2, W3, W4,
STRETCH GOAL, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
GREEN 7, 7 ,7 7, 7 ,7 ,7 ,7 ,7 ,7 ,7 ,7 ,7 ,7 ,7 ,7
YELLOW 5, 5, 5, 5, 5 ,5 ,5 5, 5 ,5 ,5 ,5 ,5 ,5 ,5 ,5
RED ,3 ,3 ,3 ,3 ,3 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
Is there any way I can plot this type of data in PlotLy… This is btw a line graph data sample. Any help will be heavily appreciated. :slight_smile:

There’s always to rearrange your data into something plotly understands.

The first example on https://plot.ly/javascript/ shows one way to convert csv data to plotly.