Completed

Create two python charting functions using google chart api

I need two python functions created. Each function will render data provided to it in a chart format. Please read below for information about each function. I would like to use the Google Chart API, unless there is a better one to make the charts visually better.

Function1: Piechart

This function will create a pie chart image using the colors provided in data. The chart will be saved as a png to the filepath provided. If legend is true, the image will provide a legend showing what colors equate to what name. If overlay is true, each pie section will have the numeric count overlayed over the slice.

IMPORTANT NOTE: The data must stay in order as it is in the list

Input: ChartTitle (string), Data (list of dictionaries, see below), Outputfile(string, filepath), Legend=True,Overlay=True, Size=(height,width)#inches

Data structure:

data = [{'Name':'Critical',

'Count':10,

'Color':'Red'},#this is the color of the pie section

{'Name':'High',

'Count':6,

'Color':'Orange'},

{'Name':'Medium',

'Count':0,

'Color':'Yellow'},

{'Name':'Low',

'Count':7,

'Color':'Green'},

{'Name':'Info',

'Count':2,

'Color':'Blue'},

]

Fuction 2: Barchart

This function will create a bar chart image using the colors provided in data.

Input: ChartTitle (string), Data (list of dictionaries, see below),Barcolor='Blue', Outputfile(string, filepath),Overlay=True,Size=(height,width)#inches

data = [{'Name':'Item1',

'Count':10,},

{'Name':'Item2',

'Count':6,},

{'Name':'Item3',

'Count':0,},

{'Name':'Item4',

'Count':7,},

{'Name':'Item5',

'Count':2,},

]

Skills: Python

See more: create p&g logo for wedding, google chart api php mysql, google chart api codeigniter, create google chart pdf using codeigniter, create google chart api using php mysql, google chart api using php mysql, google chart api data extraction, google chart api, create google chart api mysql php, stock market google chart api, hover effect google chart api, google chart api highlight slice pie, google chart api playground, google checkout api using aspnet, google map api using script, google chart api frontend, create dll sql calls, aspnet create drop menu, photoshop create book, create paypal account

About the Employer:
( 106 reviews ) Sacramento, United States

Project ID: #13380819

Awarded to:

origami07

Hello, I can make these functions with python. I have been scripting for over 5 years. Regards, Steven

$25 USD in 1 day
(2 Reviews)
1.7

5 freelancers are bidding on average $27 for this job

yingli1987

Hello, I read your job posting carefully.. I am very much interested in your project with all of your requirements. I have 5+ years experiences with Web Development including Python, Javascript, ROR, PHP etc. I h More

$30 USD in 10 days
(2 Reviews)
3.8
$25 USD in 1 day
(4 Reviews)
2.6
rehmansattar

A proposal has not yet been provided

$25 USD in 1 day
(0 Reviews)
0.0
$30 USD in 10 days
(0 Reviews)
0.0