C# directed graph generating library

A little late, but it’s actually relatively easy to implement yourself: public class DGMLWriter { public struct Graph { public Node[] Nodes; public Link[] Links; } public struct Node { [XmlAttribute] public string Id; [XmlAttribute] public string Label; public Node(string id, string label) { this.Id = id; this.Label = label; } } public struct Link … Read more

Whats are some real time data sources?

Just some thoughts: Environmental Datasets As stated by the other comment, have a look to weather, forecast (or similar services). Space data What about data from the Universe? Flights Here’s some real time flight tracking data: the evaluation plan is limited but free. Social Networks Twitter Streaming API, Facebook RealTime Updates API (in case you … Read more

Big data visualization using “search, show context, and expand on demand” concept [closed]

There are several solutions out there, but basically every one is using the same approach: create layer on top of your source to let you query at high level create a front end layer to talk with the level explained above use the visualization tool you want As miro marchi pointed, there are several solutions … Read more

How export a Jupyter notebook to HTML from the command line?

Also use –execute to get the output jupyter nbconvert –execute –to html notebook.ipynb This produces a notebook.html file. The best practice is to keep the output out of the notebook for version control, see: Using IPython notebooks under version control But then, if you don’t pass –execute, the output won’t be present in the HTML, … Read more

How do I show marriages in a d3.js based ‘family-tree’?

There are some options, but I believe each would require a bit of work. It would help if there were one single standard for representing a family tree in JSON. I’ve recently noticed that geni.com has a quite in-depth API for this. Perhaps coding against their API would be a good idea for reusability… — … Read more

How to log scale in seaborn

mybins=np.logspace(0, np.log(100), 100) g = sns.JointGrid(data1, data2, data, xlim=[.5, 1000000], ylim=[.1, 10000000]) g.plot_marginals(sns.distplot, color=”blue”, bins=mybins) g = g.plot(sns.regplot, sns.distplot) g = g.annotate(stats.pearsonr) ax = g.ax_joint ax.set_xscale(‘log’) ax.set_yscale(‘log’) g.ax_marg_x.set_xscale(‘log’) g.ax_marg_y.set_yscale(‘log’) This worked just fine. In the end, I decided to just convert my table values into log(x), since that made the graph easier to scale and … Read more

tech