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.
Related
I am working on a clustering based project where I have to perform dendrogram operation on backend and to plot that chart on front-end using any javascript based framework (angular). So I know how to do it in python but on front-end how can I plot that because the data from python SciPy library is like nested lists which use line plots while in front-end libraries they accept data as parent child relation.
In case I am not clear then do let me know.
After doing a lot of effort I have found the plotly.js which is just like a python plotly but it's a javascript version and can be used for plotting. It takes the input argument from the scipy dendrogram function. these arguments are:
dendrogram['icoord']
dendrogram['dcoord']
you can visit this link for more information:
https://codepen.io/NTX11/pen/qrdyjX
this work in my case. as I need to plot dendrogram on frontend
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
I am trying to generate a report (with Charts and other lists) based on some data from a conventional scripted datasource. Basically, the charts that BIRT provides are not suitable for my report so I thought maybe I can produce some charts(with an external app) based on the data from database, saving the charts into files and eventually, dynamically load those files into my report. So here are my questions:
Is this possible to somehow create custom designed charts? if yes how
to do this? and how can I add charts to the report?
I have all the data needed in dataset from scripted datasource, is it possible to draw graphics on
the fly with some javascript while the report is being created? I mean by using the data I just
draw my own custom designed chart?(this is a very simple chart and no fancy stuff).
You could also look at some different chart libraries. Fusion Charts (www.fusioncharts.com) have many more charts than standard BIRT does. BIRT Designer Professional (the version of BIRT Designer that you pay for) provides access to Fusion Charts.
You can also check out Chart Da Vinci that is a programmatic interface to the BIRT Chart API that provides you with an easy to use technique (so they say) for building and customizing charts.
BIRT has a chart API. Its documentation lives here.
To answer both your questions: yes, you can, and yes, you can - the API has all the info, although it's not the most user friendly.
I'm first time trying to use GTFS(General Transit Feed Specification) with Google Maps as per the Google developers page i have understood the concept of .txt files which are used as feed and for making a demo i downloaded a transit zip files from Google developers page. but I'm not getting how to use those transit files to show information on map. I tried to search tutorial for the same but could not find anything useful. Do i need to parse all those files to show in map or there is something different implementation.
I'm confused.
Please bear me with my lack of knowledge regarding GTFS.
If you want to display stops and routes on a map, you can use gtfs-to-geojson to convert GTFS to GeoJSON that can be loaded onto a Google Map or Mapbox.
Install gtfs-to-geojson:
npm install gtfs-to-geojson -g
Setup a config.json file, then run:
gtfs-to-geojson --configPath /path/to/your/config.json
The tool will output a folder of GeoJSON files.
As far as I know, GTFS is not yet "plug and play" ready - there's no simple way to just load up a GTFS dataset and work with it or query it on Google Maps, using either Google's web interface or their Javascript libraries.
Getting this working requires:
Setting up a (SQL) database and importing the GTFS dataset into that database.
Setting up a query system to get the information you want out of the SQL database (e.g., a web front-end that queries the database backend).
Feel free to look at some examples from around the web:
Broader GTFS discussion, and a link to a PostgreSQL + R solution from James Wong
MongoDB + node.js from Brendan Nee
I'm looking to use this chart generation library: http://www.jqchart.com/
Ideally, I would prefer to use a PHP charting library for the current project I'm working, but, by the looks of it, this is the only library I've found that can handle what I need to do (given a somewhat unconventional requirement for the charts).
The issue is that I need to get the generated graphs as images (at the moment each graph seems to be a combination of images) to the server so that I can generate some PDF documents, etc.
I'm thinking of attempting to create an image using JS, pushing this back to the server and then generating the PDF although this pretty nasty and will probably cause issues between different versions of the browser.
So now what I'm looking for is a solution that will allow me to generate the graphs and turn them into images on the backend.
Any ideas?
EDIT: For the requirement that led me to rule out a number of other charting libraries, see here: Complex charts in Google Charts
That really isn't all that relevant to the question of processing Javascript on the server, though.
You can render a javascript graph on the server using phantomjs. Here is an example.
Not sure what your requirements are, but I'd check out Google Chart Tools: http://code.google.com/apis/chart/. It's really simple to use. All the data is in the image URL get request, so you can generate charts using client-side JavaScript too.