score:1

You're not calling the function correctly, simply change

$(makeChart([1,2,3]);)

to

makeChart([1,2,3]);

See the DEMO here

score:1

To call the function it's just makeChart([1,2,3]);.

The $() is the jQuery selector. For example, $('#container').


Related Query

More Query from same tag