Skip to content

Nitika-kamboj/gsheet_plotter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GSheet Plotter

An interface to plot graphs using data from your Google Spreadsheets.

Features:

  • Fetch spreadsheet from ID
  • Plot 2D graphs using any two columns
  • Export graphs in .png

Quick Links to get up and running

Installation:

Install GSheet Plotter

pip install gsheet_plotter

Create a credentials file(.json) to allow access to GSheet Plotter to access your spreadsheets.

Step1

  • Click on Create Credentials

Step2

  • In the dropdown, choose Service Account

Step3

  • Fill in the details, and click on Create

Step4

  • Click on Done

  • Go back to your dashboard and you'll see new credentials added with the information you entered.

  • Click on the Edit icon

Step5

  • Goto Keys on Add Key.

  • Download the JSON file and move to the working directory.


Usage:

  • Instantiate the class by passing Google Service Account json file,Sheet Id found in the Google Sheet URL and the work sheet name

Initialize

  • Fetch data from the sheet to a pandas dataframe. The dataframe is saved in the data attribute.

plot_data

  • Plot the graph by using two column names

plot_data

  • Additional method- Fetch the data and plot the graph in one go by passing the column list

plot_data


Available methods

method_dteials

About

A visualisation library written in Python to plot your Google Sheets.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published