Small javascript project


I have a website that uses google charts. My typical usage of charts is like this ..

<script type="text/javascript">

[url removed, login to view]("visualization", "1", {packages:["corechart"]});

[url removed, login to view](drawChart);

function drawChart() {

var data = [url removed, login to view]([["Response","Percent"],["Energy",3],["Materials",0],["Industrials",0],["Consumer Discretionary",0],["Consumer Staples",1],["Health",0],["Financials",5],["Government",0],["Information Technology",1],["Telecommunications",2],["Utilities",0],["Education",0],["Other",3]]);

var options = {

legend : "right",

title: "Poll responses",

width: 600,


backgroundColor: { fill:"transparent" },

titleFontSize: 12,

tooltip: {trigger: "none" },

titleTextStyle: {color: "#000066"}


var chart = new [url removed, login to view]([url removed, login to view]("chart_div1"));

[url removed, login to view](data, options);



<div id="chart_div1"></div>


I now need to modify the above method so that the code - instead of being static - is injected into the document and then run - something along these lines ..

[url removed, login to view] = <something like the code above>

I've experimented with various solutions proposed on the net but can't get any to work. I've attached a working static version and an example of a not-working dynamic version.

Skills: AJAX, Javascript, jQuery / Prototype

See more: technology solutions code, prototype chart, get prototype, example of a project, energy solutions, consumer energy, small javascript project, jquery chart, javascript function response, jquery instead, government type, jquery dynamic, google charts options, jquery modify, jquery charts, dynamic google chart, government project data, dynamic tooltip, text javascript, PieChart , trigger javascript, 600 lines, google visualization javascript, modify javascript code, website draw script

About the Employer:
( 0 reviews ) Australia

Project ID: #5177328

31 freelancers are bidding on average $420 for this job


skilled jquery developer here, have done over 500+ jquery project for my clients, i can do the charts for you, let start now.

$250 USD in 10 days
(55 Reviews)

Hello, The approach you are taking is not going to work because of the way Google Charts is loaded and executed. I think I can help you fix this. Why are you trying to load it in this manner? What result ar More

$250 USD in 3 days
(27 Reviews)

Hi, I have read your post and understood your requirement. I have good experience in handling Wordpress /Magento/Joomla/Drupal/ HTML5/CSS3/PHP/ Yii framework/Javascript/MySQL/ Kindly go through my works to c More

$824 USD in 8 days
(14 Reviews)

Hello, I am very interested and would love to help you. I am javascript expert and really can help you. I am seeing why your implementation is fail. But before talking on that why. I need to know your goal of More

$257 USD in 3 days
(21 Reviews)

Hello! I am a javascript developer. I can work your project. Please look my reviews. If you hire me, I will start work right now. Thank you.

$252 USD in 3 days
(12 Reviews)

Hi AlexPalfi, I'm a javascript ninja, and can load your charts dynamically, even pulling the data from an ajax call Marcelo

$333 USD in 5 days
(39 Reviews)

A proposal has not yet been provided

$277 USD in 3 days
(38 Reviews)

Alex, i've this issue already sorted for you, 100% guaranteed functional and easy to understand the change, please let me know if you need more info.

$250 USD in 0 days
(14 Reviews)

hi we could do it perfectly with accuracy, please let us know if you want any clarification. if you want us to share our skill and previous work please initiate the chat..

$736 USD in 14 days
(12 Reviews)

A proposal has not yet been provided

$611 USD in 10 days
(6 Reviews)

Hi, I have a working version of your "doesnt-work.html" page, where the chart code gets injected dynamically. If you assign the project to me, I can deliver the working page immediately. Thanks.

$250 USD in 1 day
(6 Reviews)

Hello, I have seen your files and I saw the the problem in your code. I have fixed it and 2 files already work so if you are interested, please response. Thank you

$250 USD in 1 day
(24 Reviews)

Dear Sir, please see my reputation to make your decision. Please let me know when we can start. Kind Regards

$736 USD in 7 days
(28 Reviews)

Hello Mr Alex, I fixed your doesnt-work.html and it's working properly now. It's a very simple job, I don't think you should spend $100 or more if all you need is to make that script work. Please let me know the f More

$250 USD in 3 days
(4 Reviews)

Hello AlexPalfi, I have gone through your outsourced requirement "Small javascript project" and have analyzed that I have right credentials (AJAX, Javascript, jQuery / Prototype) to execute your esteemed project. More

$539 USD in 6 days
(12 Reviews)

Hi - I have 15+ years of design and development experience to help with your project. I've worked with the likes of:, and I have good experience with Google charts as well as More

$777 USD in 10 days
(1 Review)

hi javascript expert here and i would like to work on your. project.please go through my profile and discuss with me .I hope you would like to hire me. i will complete your work within 8 hours.thanks

$250 USD in 1 day
(15 Reviews)

Dear Sir/Madam, In response to your job posting, kindly accept our proposal for this project. We meet the requirements as stipulated and feel a strong contender for this project. We have prior experience in the t More

$750 USD in 20 days
(1 Review)

Hi, I am an expert in javascript and have been writing it for 8 years now. I write all kinds of javascript and jQuery and have worked with plenty of javascript chart libraries. I've built dashboards that dynamically di More

$333 USD in 3 days
(7 Reviews)

hi I am experienced developer. Do know Why you want to call it on load event ! Can you tell us 'What Exactly you want to do? , So that it will be easy to find Solution. thanks Try This <!DOCTYPE HTML PUBLIC "-/ More

$250 USD in 3 days
(8 Reviews)