Javascript Compilation for migration of D3 js v3 to v4 - javascript

I am using D3 js V3 for my application (Javascript charting library). I am using mainly for creating charts and almost used many modules like selections, axis, scale, svg, transition, animations, layouts etc.
Now I want to migrate into new Version 4 of D3 js. I have checked release notes and API reference for V4. Still i found difficult for my application to get migrated to V4 since there are many API changes.
So my question, Is there any way to compile my application with D3 js, So that i can avoid errors getting in Runtime environment.

There is no pre compiler with D3js or any error highlighter right now.
So you have the check for the changes and do that manually.
Updated document is here https://github.com/d3/d3/blob/master/CHANGES.md

Related

neo4j javascript visualization

Which library should be used to draw visualizations using javascript querying Neo4J Backend via REST API.
Found the following examples, but confused if they are maintained and the correct ones to use.
# Alchemy
https://www.technologyscout.net/2016/08/graph-libraries-alchemy-js/
https://github.com/vgoebbels/graphexamples
# GRAPH GIST
https://github.com/neo4j-contrib/graphgist-cms
I have a need to draw 4 or 5 charts, couple of Pie / Bar charts , one spider chart and Dependency map (sort of neo4j traversing - dependencies already mapped in neo4j). Appreciate if correct library can be suggested and pointed to examples.
Require an open source version (not a paid version like Tablaue etc).
Thank you.
Alchemy.js
Sigma.js
I have used Alchemy.js with neo4j and both are open source libraries.

Dynamic Graph Using Websocket Inside Cordova App

I'm trying to create dynamic graph inside a mobile cordova angularjs application.
I've done a bit of research and tried several libraries to plot a graph using a websocket protocol with no success.
I'm starting to think its not possible and would need to program a custom one.
Does angularjs support any live streamed graphs for use?
I would like to use something provided by highcharts a live dynamic spline chart.
Thank you very much.

How to add d3 GWT wrapper to vaadin?

I tried adding the d3 gtw wrapper found here to Vaadin. But since I am newby to Vaadin/GWT I am a bit confused as to how exactly I can add and use the wrapper.
I tried adding the wrapper to the project as per manual using maven but I kept getting javax.servlet.ServletException: com.vaadin.server.ServiceException: java.lang.NoClassDefFoundError: com/github/gwtd3/api/D3. I get no warning in eclipse and I can see the documentaton for the classes when coding.
Thanks!
If you want to use d3.js library you have 3 options.
Add d3.js using #JavaScript annotation. This option is explained in details on Vaadin website.
Better approach (more clean, and easier to maintain in longterm) would be to write custom Vaadin component based on GWT. You can add and use your d3.js file while producing new GWT component. After that export it to the jar, recompile widgetsets and you can use it your Vaadin app. This approach is explained in details here.
Check out already developed addon for Vaadin Freecode Charts and D3 Wrapper . Maybe functionality provided in this one will be just enough for you.

Visualization with Dart?

My work involves pretty heavy visualization. I have been using D3.js and JavaScript Infovis toolkit for it.
I recently learned about how Dart is the new way of developing web apps.
Q1. Does Dart provide any libraries for doing visualization (Something of the level of D3.js or JavaScript Infovis toolkit) ?
Q2. If I move on to Dart, will I be able to use D3.js / Javascript Infovis toolkit along with Dart ?
Edit:
I found over the internet that we can use Javascript alongwith Dart.
I went through Dart FAQ, but couldn't really find anything related to visualization libraries or D3.js perse.
Thanks to dart:js you can use any js lib. See Using JavaScript from Dart for more details.
You could also use native ports of d3.js to make development easier since you can then write the visualization code in Dart. A good one you should look at is charted
In addition I created a package for the google visualization API.

What is a good Javascript graphing library to use with GWT application?

Do you have any suggestions of graphing libraries to use with a GWT project? I need to graph a set of data points and several lines. Also some shading of the area under a line. I am open to suggestions of straight Javascript libraries or Java that I can just use with GWT.
D3.js
gwt-d3 is a GWT wrapper library around the D3.js library
Google Visualization API
Google Visualization API has a GWT binding which is no longer under active development
I recommend GWT Highcharts, a GWT wrapper of Highcharts library.
I'm currently using Google Visualization API but just wanted to bring attention to:
raphaelGWT (http://code.google.com/p/raphaelgwt/)
Ext-GWT (http://www.extjs.com/products/gwt/)
Keep in mind not ALL of the Google Visualization charts are completely javascript (ie The Motion Chart which is flashed based).

Categories