Let's see step-by-step how to create a Kotlin JS application that uses Charts-kt.
IntelliJ IDEA is the editor of choice for a Kotlin project. This tutorial works with the community (free) edition of IDEA as well as the ultimate edition.
Let's start by creating a new Kotlin project, and choose Browser Application.
Choose the name and location of your project.
As for the build system, Gradle is the preferred option but Maven also works.
We'll choose Gradle Kotlin for this tutorial, you can change it if you're more comfortable with Groovy.
Choose Java 8 or later as your project JDK.
For this tutorial we'll also use kotlinx.html, a convenient DSL to create HTML elements, so check the box: