Live data from Hacker News

JSON Crack – Visualize JSON data into graphs

jsoncrack.com

51–60 of 100 posts

Re: JSON Crack – Visualize JSON data into graphs

#53
This is pretty awesome. I wonder how this scales. Like if I wanted to visualize a graph with millions of nodes, would it make sense to copy a whole JSON blob into it?

One of my side projects is called GraphJSON (https://graphjson.com), where we took the opposite approach. Log events (kind of like nodes in your graph) in a segment/mixpanel/amplitude way and then use SQL to stitch these events together. Currently it just does basic visualizations like lines and tables, but it'd be awesome to do the flow charts you've created. Perhaps there's opportunity for partnership?

Re: JSON Crack – Visualize JSON data into graphs

#54
Probably just me, but the "members" and "powers" arrays in the example should be in the same box as their siblings. When presented in another box joined with arrow, to me it seems to introduce hierarchy that isn't there. Probably I'm unaware of some convention used here.

Re: JSON Crack – Visualize JSON data into graphs

#55

I thought this was a new feature in Microsoft Visio initially. Would “JSON Visio” be a breach of their trademark? https://trademarks.justia.com/742/75/visio-74275413.html

Only matters if Microsoft sues. GitHub-owner era Microsoft tends to want to stay in the open source community’s good graces. (Plus I’m sure the owner would just change the name if MS asked, anyway)

That being said, this is also a diagramming tool… I probably would recommend changing it

Re: JSON Crack – Visualize JSON data into graphs

#57

Cool. PlantUML also does JSON visualization [1] if you need a local option or are hesitant to load your data onto a website. [1] https://plantuml.com/json

JSON Viso can be run locally as well https://github.com/AykutSarac/jsonvisio.com

That's what I came to find out! Thanks!

Re: JSON Crack – Visualize JSON data into graphs

#59
post #38

Earlier quoted context omitted.

Have you tried json-mode? Seems to work pretty well.

The point was that the keys and values are all aligned to the same minimal column numbers :) Both `json-mode` `json-reformat` don't seem to do that (and ideally I'd like something that'd work with Clojure/EDN code..)

gg=G in evil mode will do that.

Re: JSON Crack – Visualize JSON data into graphs

#60
post #36

If you indent your code manually then you can achieve something that I feel looks quite similar. So the example they give would be written as: {"squadName": "Super hero squad", "homeTown": "Metro City", "formed": 2016, "secretBase": "Super tower", "active": true, "members": [{"name": "Molecule Man", "age": 29, "secretIdentity": "Dan Jukes", "powers": ["Radiation resistance", "Turning tiny", "Radiation blast"]}, {"nam…

If you climb to the top of a really tall mountain you'll get a similar perspective to what Google Maps provides.

Ads?
Post reply on HN