fdietze / Scala Js D3v4
Licence: mit
ScalaJS facade types for D3 version 5
Stars: ✭ 41
Programming Languages
scala
5932 projects
Projects that are alternatives of or similar to Scala Js D3v4
D3 Dot Graph
This module provides D3js compatible library to parse and load files in graphviz DOT (.dot) (graph description language) format.
Stars: ✭ 23 (-43.9%)
Mutual labels: d3, d3v4
D3 Graphviz
Graphviz DOT rendering and animated transitions using D3
Stars: ✭ 901 (+2097.56%)
Mutual labels: d3, d3v4
multi-verse
lit-element components for fast and modular multivariate analysis
Stars: ✭ 34 (-17.07%)
Mutual labels: d3, d3v4
D3tutorial
📊📈 A D3 v6 tutorial - interactive bar chart and multiple coordinated views (MCV)
Stars: ✭ 163 (+297.56%)
Mutual labels: d3, d3v4
north-korea-missile-map
A map of the world using D3 and Canvas showing missile ranges
Stars: ✭ 53 (+29.27%)
Mutual labels: d3, d3v4
multi-chart
lit-element building blocks for charts and visualization (based on d3.js v5)
Stars: ✭ 24 (-41.46%)
Mutual labels: d3, d3v4
d3.geometer
[NOT MAINTAINED] A D3js library for drawing polytopes, angles, coordinates, geometries and more.
Stars: ✭ 18 (-56.1%)
Mutual labels: d3, d3v4
d3-ng2-demo
Reusable visual power? A demo of using D3 version 4 with Angular 2+.
Stars: ✭ 53 (+29.27%)
Mutual labels: d3, d3v4
Vue D3 Network
Vue component to graph networks using d3-force
Stars: ✭ 415 (+912.2%)
Mutual labels: d3, d3v4
V Chart Plugin
Easily bind a chart to the data stored in your Vue.js components.
Stars: ✭ 188 (+358.54%)
Mutual labels: d3, d3v4
D3
This is the repository for my course, Learning Data Visualization with D3.js on LinkedIn Learning and Lynda.com.
Stars: ✭ 64 (+56.1%)
Mutual labels: d3, d3v4
d3-sankey-circular
A fork of the d3-sankey library to allow circular links.
Stars: ✭ 65 (+58.54%)
Mutual labels: d3, d3v4
ScalaJS facade types for D3 version 5
- Heavily inspired by spaced/scala-js-d3
- D3 modules are imported automatically by bundler when needed.
Usage
Supported are ScalaJS1.0
with Scala 2.12
and 2.13
.
-
Set up Scalajs-Bundler for your project.
-
In your
build.sbt
:resolvers += "jitpack" at "https://jitpack.io" libraryDependencies += "com.github.fdietze.scala-js-d3v4" %%% "scala-js-d3v4" % "809f086"
Don't forget to update the commit hash. You can also use the hashes of branches and PRs.
-
Use d3 like you know it from JavaScript (http://devdocs.io/d3~4):
import d3v4._ d3.___
-
Contribute missing facades as pull requests. Most of the time this can be done in a few lines of code. You get a good overview of what exists and what is missing when looking at src/main/scala. Each File corresponds to a module in d3: https://devdocs.io/d3~4. To add a new module, simply create a new file and implement the facades you need. Finally add an implicit to your module in D3.scala.
-
Don't hesitate to open new Issues.
Facade writing guidelines
- Ref types involving null don't need a union type with Null. Provide wrapper methods mapping to Option.
- Prefer overloading in most cases. But use union types to avoid combinatorial explosion.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].