Something I worked on over the weekend ^_^
It shows the largest connected component of the network generated from Stacker News posts, connected via internal SN links.
(Posts not connected to this largest connected component are not included)
pull down to refresh
Something I worked on over the weekend ^_^
It shows the largest connected component of the network generated from Stacker News posts, connected via internal SN links.
(Posts not connected to this largest connected component are not included)
I'm especially proud of the spiraling effect, which I accomplished using a compression algorithm to push nodes out from the center and pull them inwards from the outer rim, and then creating a spiral effect so make the overall graph more circular.
It went from this:
To this:
~Stacker_Sports is an island and ~HealthAndFitness is relegated to “other”
Oof @grayruby @Undisciplined @Aardvark
Awesome, nice work! Are ~Stacker_Sports and ~AI out on the edges because they don't connect as well with the other territorys?
Yeah I think so. ~AI has multiple clusters of points due to @optimism's weekly summary posts, each one generates one of these clusters.
~Stacker_Sports tends to have these long chains because I think they run a lot of contests with update posts that reference the previous post.
~science's daily puzzles also led to this effect
Cool! One day I'll get those started again. One day...
That's a nice work there!
There’s some t-shirts opportunities in there for sure.
Wow looks amazing!
really cool visual representation of the site!
thought this was kinda ironic, uppermost node with only one connection that you could say, unravels from there to the rest and its a post about a circle puzzle
Haha what a fun coincidence
Cool! What's the toolchain?
python,networkx, andpygraphvizto build the graph and node positions.A custom algorithm to create the spiraling effect
just
htmlandcytoscapeto create the apphosted on
github pagesI used AI to help me out a lot. Most of the
index.htmlwas built by ChatGPT/Claude, but I did have to do a lot of customization afterwards.Looks super interesting and fun. I feel like a newbie, each time I see some coding done around here. I am far of that domain.
<script src="https://cdn.jsdelivr.net/npm/cytoscape@3.27.0/dist/cytoscape.min.js"></script>I love standalone htmls with getting javascript from CDN. It's such a simple yet powerful way to create ad-hoc documents.
holy sh*t dude
Data is beautiful
It is kind of beautiful! title: "Look at My Horse, My Horse Is Amazing..."—On Custody, Tech, and SN's Future
I remember coming across this story when it was new, and seeing it today at the center of a real mass of stories gives me a pretty good feeling that things are running smoothly compared to back then.