Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

force-directed graph layout implementation using position Verlet integration

Of course anyone who read the title of this post knows the full quote:

A flexible force-directed graph layout implementation using position Verlet integration to allow simple constraints. This implementation uses a quadtree to accelerate charge interaction using the Barnes–Hut approximation.

In addition to the repulsive charge force, a pseudo-gravity force keeps nodes centered in the visible area and avoids expulsion of disconnected subgraphs, while links are fixed-distance geometric constraints. Additional custom forces and constraints may be applied on the "tick" event, simply by updating the x and y attributes of nodes.

..from this D3-related Github:

https://github.com/mbostock/d3/wiki/Force-Layout

What's D3?

It's a javascript library, D3.js:

http://d3js.org/

Wasn't there some "Pro" content on Treehouse on this..yes, it's here:

https://teamtreehouse.com/library/future-of-web-design-london-2014/beautiful-data-visualisation-with-javascript-and-svg

However, I'm sure we're all looking forward to the new D3 course:

http://teamtreehouse.com/library/d3js/upcoming

The big question is, though, will the "Make Visualizations Interactive" include something from this Github library?

I'm sure it will appeal to those Data Scientist wannabes out there:

https://teamtreehouse.com/forum/data-scientist

But what about some interactive demos to wet your whistle?

Here some links:

http://projects.flowingdata.com/tut/interactive_network_demo/

http://graus.nu/d3/

http://bl.ocks.org/syntagmatic/2556042

http://bl.ocks.org/mbostock/950642

There's a whole bunch of D3 demos linked to on this page:

http://techslides.com/over-2000-d3-js-examples-and-demos

I'm sure none of you missed the 60 minutes Data Brokers segment,

featuring the Disconnect browser plugin.

It's at time index 06:55 here:

https://www.youtube.com/watch?v=_Cty7ctycsI

I'm sure the code being used is based on the D3.js code.

Oh yeah, I almost forgot..the new D3.js course is supposed to come out March 2015..can't wait!