TahaSolutions / dash

Plotly Dash experiences
6 stars 2 forks source link

How can I plot using the csv file ? #1

Open sushant1727 opened 6 years ago

sushant1727 commented 6 years ago

I'm new to Plotly and understood your concept of ploting graph on the local server.

Now, I want to use CSV file so the graph can read from CSV and plot the graph.

Is there any way I can use the existing code to do it.

Thanks

TahaSolutions commented 6 years ago

Of course.

Just change the data source to read from your CSV.

of course you need to find an existing sample that matches with your CSV data type.

Regards Shahrouz

On 26 Jun 2018, at 21:17, Sushant Tyagi notifications@github.com wrote:

I'm new to Plotly and understood your concept of ploting graph on the local server.

Now, I want to use CSV file so the graph can read from CSV and plot the graph.

Is there any way I can use the existing code to do it.

Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TahaSolutions/dash/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/ATrwZKmK6DGoOEdOt5EhArfLtf8n8a_oks5uAojagaJpZM4U4hsC.

sushant1727 commented 6 years ago

How can I change the data source, I am really new to all this I've read few examples online but they all are very confusing. So far your example is very basic, clear for novice like me. Im not concerned about what data type of csv file just anything that works will help me understand. Thanks again!

raeisi commented 6 years ago

Assuming that bar chart suits your data type I suggest you to start from here.

https://plot.ly/python/bar-charts/

If not review all the samples here and see which one suits your needs.

https://plot.ly/python/

From: Sushant Tyagi notifications@github.com Sent: Tuesday, June 26, 2018 11:26 PM To: TahaSolutions/dash dash@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: Re: [TahaSolutions/dash] How can I plot using the csv file ? (#1)

How can I change the data source, I am really new to all this I've read few examples online but they all are very confusing. So far your example is very basic, clear for novice like me. Im not concerned about what data type of csv file just anything that works will help me understand. Thanks again!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TahaSolutions/dash/issues/1#issuecomment-400467862 , or mute the thread https://github.com/notifications/unsubscribe-auth/AES4eDyWh-ZuIOE_EKU-FbSFBl3VZ9Q5ks5uAqb5gaJpZM4U4hsC . https://github.com/notifications/beacon/AES4eAMq0vjplXzOo0vwaiTq7SbIuRNMks5uAqb5gaJpZM4U4hsC.gif


This email has been checked for viruses by AVG. https://www.avg.com

sushant1727 commented 6 years ago

Thank you, I was able to plot what I was looking for. Thanks