gabriele-tomassetti / kotlin-js-D3js-example

A simple example of a D3 JavaScript program in Kotlin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kotlin-js-D3js-example

A simple example of a D3 JavaScript program in Kotlin. The example is based on the US State Map example. Given that the original program is licensed under the GPL 3, so is this one.

The program display a map of USA States and a tooltip showing randomly generated temperature data when the mouse pointer hover a specific state.

The example is written in Kotlin that in transpiled in JavaScript by the Kotlin compiler. The objective of this simple example is showing how to use Kotlin for creating JavaScript programs and how to use JavaScript libraries from Kotlin.

The text of the tutorial is available at Kotlin Javascript Target: Use Kotlin in the Browser.

About

A simple example of a D3 JavaScript program in Kotlin

License:GNU General Public License v3.0


Languages

Language:Kotlin 67.1%Language:HTML 32.9%