Visualizing Algorithms in d3.js

in #algorithms8 years ago

A great resource for visualizing the steps an algorithm takes for solving a certain task is the following https://bost.ocks.org/mike/algorithms/ page of Mike Bostock.

There you can see how to visualize algorithms by using the d3.js library. The github repo can be seen here https://gist.github.com/mbostock

An example of algorithm visualized is "Randomized depth-first traversal" for tree searching as you can see below.
It seems like a form of graphical art!
Dataviz.PNG

There are many more examples of algorithms visualized such as sorting or shuffeling in the Mike's site so have a look, it is definitely worth the time.

Sort:  

would u art this graphical art?

Well I like better processing.js for making graphic art. Also the processing IDE is great for this kind of work.

The fact that it is created by an algorithm is simply mind blowing. But yes as @alketcecaj told better use processing for this kind of graphic art.

Coin Marketplace

STEEM 0.04
TRX 0.33
JST 0.083
BTC 62069.28
ETH 1614.34
USDT 1.00
SBD 0.45