Hive plots in vega-lite (and Altair?) - altair

I was wondering if there's something similar to Hive plots in vega-lite and/or Altair (python):
http://hiveplot.com/
Or if somebody approached that problem in the past w/ vega-lite (I know there's something available for JS and Matplotlib). It'd make my data analysis that much clearer :)

I had attempted to add altair support to hiveplotlib, which I maintain, but I ran into an issue with drawing arbitrary curves in 2d, discussed more here.
I couldn't find a solution to this problem, so I abandoned altair support for now. I'm not an altair user though, so if you or someone else can solve that bit, I can support hive plots in altair.

Related

Mark pie charts on top of geoshape in Altair/Vega

I love the recent developments to the Altair library and I was wondering if there was any advice for marking pie charts at different "latitudes" or "longitudes" of a geoshape. I have attached an image below showing a small example of what I'd like the rendered graphic to look similar to.
My understanding from the Altair/Vega documentation is that one can only mark symbols onto the marked geoshape. Would the best way forward be to create a new SVG for each of the slices of the pie chart and rotate them accordingly at each of the latitude/longitude coordinates? Any advice you can provide would be greatly appreciated! Alternatively, if there is another visualization library that is better suited for this task I would be happy to hear about it.

azure batch blender custom image

I am exploring the possibilities of distributed rendering on azure with batch explorer.
I loved the fact that out of the box you get a lot of tools for 3d rendering, even specifically for blender. However I am having some trouble setting it up for my needs.
On batch explorer the blender gallery template is not up to date. I tried to render something and I was getting black geometry. After some troubleshooting I understood it was because of the principled shader that has only been added in 2.79. If I don't use the principled shader all is good, so I believe the version of blender in the template is outdated.
For this reason I am trying to find a way to create a custom linux build with blender 2.79b, but I got stuck. I am a bit lost with all the guides, tutorials and so on.
It would be great if someone could point me in the right direction for what I actually need to do.
Thank you very much for any help in advance!
Bernardo

VTK alternatives

I apologize if the answer was already somewhere, searching the interwebs did not return me the answer(s) I was looking for.
Situation : I have a small graph (a set of Edges and Nodes that is) - Now I want to display it in an interactive manner, and I would like to manipulate the display styles and symbols that are used for edges and nodes, programetically.
Hence kgraphviewer wont work - i want to do it programetically as stated.
I noticed VTK, comes with a lot of built is graph drawing algorithms. But seems to be a really large one.
Question : What are some alternatives to VTK ? Graphviz is probably one, but I can not confirm that graphviz comes with all the graph drawing algorithms as VTK - any other possibly smaller options, with all the built in graphs?
Side note : Some systems uses a static drawign widget, i.e. once the drawing is displayed, in an widget that the system comes with, you can not interact with the drawing using your mouse. The GNU implementation of IDL, GDL, has this problem. I would Like to avoid this.
Yes, I agree with you regarding the VTK's consideration: it's a powerful toolkit but it is (maybe) too much "big", and it's not so easy to configure a working VTK environment.
I don't have a great experience in the field of graphs, but a search leads to this other StackOverflow post. I think that Prefuse, listed under the Java section, could be of some interest. C++ itself seems to have a lot of choices, listed in various answers, here. I hope that it will help.
I used Gephi public domain graph visualization software on Linux. It was a quick way to get a 3 D. Picture which can be modified with line thickness to show an edge weight - good for comm network work.

What kind of tool can be use to produce this graph?

I am new at graphing tools for big data analysis. Though the following is not from big data, I was wondering what kind of tools are used to create this kind of complex graph:
http://www.bitmover.com/lmbench/mem_lat3.pdf
Associated with the paper http://www.bitmover.com/lmbench/lmbench-usenix.pdf
The article is made in LaTeX (particulary groff project), according to metadata in the chart's PDF, it's saved to PDF from Photoshop (so this lead ends here). Anyway, the TikZ or Asymptote (see gallery) are capable of drawing charts like this..
Looks a little bit like gnuplot, but it can be perfectly done by matplotlib. An example can be found at this page.
Sorry, I never noticed this question before. Larry borrowed that graphic from me and it was created with Excel.
I was considering adding code to lmbench to create that plot automatically and Thorsten's suggestion of mplot3d sounds like a good place to start.

comparison of flot versus google charts

I am starting up a website that needs a lot of sophisticated multi line charts. I see two top candidates for the job
Flot
Google Charts
Does anyone have any recommendations or preferences on this decision?
Google charts: You will need to call out to google every time you need to plot.
Is it acceptable to do this from your website?
Control: Flot is the clear winner in this category, as you have a very high degree of control over plots. Also, Flot is pretty fast! I have used it personally, and once you get the hang of the API, it is great. Further, there are many 'plugins' that can be written (and some are available) for flot. I think this is a great feature.
Overall, I would vote for Flot.
Edit: Also look at http://www.highcharts.com/, a great charting library (if you can figure out the licensing).
There are lots of nice plugins for features like radar graphs (spider graphs), Gantt charts, cluster graphs, 3D effects, gradients effects and lots more in Flot.
Flot is also open source and under the MIT license, which gives you complete freedom in using it (even commercially) without having to apply a similar license.
What if Google discontinues their chart service? In case you were wondering, they are well within their rights to do so, and in a few months' notice at that: https://developers.google.com/chart/terms.
Plus, client-side charts will naturally be far better for dynamic charts, which is essentially the standard these days.

Resources