All examples By author By category About

nicksrandall

KotoJS BarChart (ES2015)

This is an super basic example of using KotoJS to make reusable components.

IMPORTANT NOTE

Please note that this example will only work on a very modern browser because the javascript is writting using ES2015 syntax.

For production applications where ES2015 is limitied, I recommend using a transpiler like babeljs to transpile the code to valid ES5 syntax.

See the starter template for more info.

Click here for ES5 version of this chart