d2v-timer-js

js lib of d2v-timer-js

License

License

Categories

Categories

JavaScript Languages Data
GroupId

GroupId

io.data2viz
ArtifactId

ArtifactId

d2v-timer-js
Last Version

Last Version

0.8.0-RC5
Release Date

Release Date

Type

Type

jar
Description

Description

d2v-timer-js
js lib of d2v-timer-js
Project URL

Project URL

https://github.com/data2viz/data2viz
Source Code Management

Source Code Management

https://github.com/data2viz/data2viz

Download d2v-timer-js

How to add to project

<!-- https://jarcasting.com/artifacts/io.data2viz/d2v-timer-js/ -->
<dependency>
    <groupId>io.data2viz</groupId>
    <artifactId>d2v-timer-js</artifactId>
    <version>0.8.0-RC5</version>
</dependency>
// https://jarcasting.com/artifacts/io.data2viz/d2v-timer-js/
implementation 'io.data2viz:d2v-timer-js:0.8.0-RC5'
// https://jarcasting.com/artifacts/io.data2viz/d2v-timer-js/
implementation ("io.data2viz:d2v-timer-js:0.8.0-RC5")
'io.data2viz:d2v-timer-js:jar:0.8.0-RC5'
<dependency org="io.data2viz" name="d2v-timer-js" rev="0.8.0-RC5">
  <artifact name="d2v-timer-js" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.data2viz', module='d2v-timer-js', version='0.8.0-RC5')
)
libraryDependencies += "io.data2viz" % "d2v-timer-js" % "0.8.0-RC5"
[io.data2viz/d2v-timer-js "0.8.0-RC5"]

Dependencies

compile (2)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-stdlib-js jar 1.3.50
io.data2viz : d2v-timer-common jar 0.8.0-RC5

Project Modules

There are no modules declared in this project.

Data2viz

Download Build Status GitHub License

Isomorphic dataviz

Data2viz is a data visualization toolbox for Kotlin Multiplatform.

You can pick what you need in the different modules and use them independently in the following environments: Android, JavaScript(IR and Legacy), and JavaFX (iOs to come).

Your code produces the same results and rendering on each platform.

A lot of algorithms come from d3js modules.

core

This module exposes some basics elements like Circle, Rect, Path, and also some parts of DSL (percent, angles, etc.).

color

This module provides algorithms to create, modify, and convert colors through differents spaces (RGB, HCL, HSL, Lab). It also manage linear and radial color gradients. You can easily use it outside of data2viz.

shape

Algorithms to generate paths: symbols, curves, ...

scale

Different ways to convert data to sizes.

interpolate

Functions to perform interpolation of various elements (numbers, colors, points, curves)

random

Algorithms to generate random data.

axis

Helper module to create axis for charts, using scales.

delaunay

This module is a high performant algorithm to compute the Voronoi diagram. You should use it in many use cases to find the closest point of interest to the pointer position.

ease

This module contains a collection of easing functions to manage acceleration inside animations.

dsv

Minimal way of parsing CSV, TSV files using Kotlin.

force

Use physics to animate your visualizations.

format

Different ways of formating numbers and currencies.

time

Some multiplatform classes to manage time and dates in visualizations.

time-format

Extend formatting to time and dates.

quadtree

Separation of space through the quadtree algorithm.

voronoi

Fortune's algorithm implementation of the Voronoi diagram. You should probably use Delaunay instead.

geo

A collection of mechanisms and functions to project GeoJson elements (points, lines, polygons) on a screen using different implementations of projections.

hexbin

A useful way of aggregating data using hexagons. You can represent data through the fill color or the area.

sankey

A generator for sankey charts.

hierarchy

A generator for hierarchical charts.

tests

An internal module used to simplify multiplatform testing with a higher DSL.

timer

A multiplatform implementation to manage animations through shared frames.

viz

Multiplatorm API and implementation of rendering and events management.

Data2viz allows you to develop data visualizations through a fully typed DSL. It simplifies the creation of complex visualizations via the IDE’s context-based suggestions.

Where should I start?

Documentation

All data2viz documentation is located in a distinct documentation project. You should start there and follow the first JavaFX tutorial.

Data2viz Playground

You can also play with the API without installing anything. Data2viz playground is a website where you can browse existing sample, modify them online and immediately see the result.

Current status and roadmap

APIs are mostly stabilized now, but there may still be some breaking changes before v1.0.

Inspirations

  • d3js: a lot of modules and algorithms come from d3js.
  • paperjs: another source of inspiration for viz hierarchy and simple API.
  • chromajs: smart library for managing colors easily.
  • delaunator: a really fast JavaScript library for Delaunay triangulation of 2D points.
  • kotlinx.html: isomorphic html rendering.
  • kotlintest: nice DSL for testing (partly ported in test).
io.data2viz

Versions

Version
0.8.0-RC5
0.8.0-RC4
0.8.0-RC3
0.8.0-RC2
0.8.0-RC1
0.7.2-RC1
0.7.1
0.7.1-RC6
0.7.1-RC5
0.7.1-RC4
0.7.1-RC3
0.7.1-RC2
0.7.0
0.7.0-RC4
0.7.0-RC3