Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

D3js within Java application

Tags:

What is the best way to embed a D3js visualization within a Java application?

Initial thoughts:

  • JWebPane (Vaporware)
  • Lobo browser (Still at HTML 4 and CSS 2)
  • DJ Native Swing Project (Inactive since 2011)
  • Other ideas?

There have been related SO questions (such as this), I'm looking for solutions specific to supporting D3js.

I am open to ideas that may not include a full blown web-browser integration, just the minimal set required for D3 visualization. I'm thinking this would include a Javascript interpreter, DOM manipulation, and an HTML/CSS layout engine such as WebKit.

like image 300
supyo Avatar asked Feb 08 '13 17:02

supyo


People also ask

What is d3js used for?

D3. js is a JavaScript library used to manipulate documents based on data. It uses HTML, CSS, and SVG to create visual representations of data which can be viewed on any modern browser. It also provides some awesome features for interactions and animations.

Is d3js still relevant?

The JavaScript ecosystem has completely changed during this time, in terms of libraries, best practices and even language features. Nevertheless, D3 is still here. And it's more popular than ever.

How popular is d3js?

D3 JS Awards3rd most popular in the United States in Charting category. The most popular in the Top 10k sites in Charting category. The most popular in the Top 100k sites in Charting category. The most popular in the Top 1 Million sites in Charting category.

Is D3 part of JavaScript?

js (also known as D3, short for Data-Driven Documents) is a JavaScript library for producing dynamic, interactive data visualizations in web browsers.


1 Answers

I have used JavaFX and webengine for this. But I am really thinkig about porting d3 to Java ...

like image 145
KIC Avatar answered Sep 22 '22 13:09

KIC