Angular related data tree chart using d3

Angular d3 chart

What is the value of information if it’s not represented in a proper way. D3 is one of the powerful frameworks these days to visualize the information. Its a bit complex and learning curve is quit long but the result you will get is worth it.

Was working on some data visualization recently and I got the idea of why not making it reusable and someone else might use it.

Continue reading “Angular related data tree chart using d3”

Binary search vs linear search using JavaScript 

Binary vs linear javascript comparison

Was reading recently about the different famous algorithms and was wondering what is the difference in performance between binary and linear search as the recent known by it speed for small number of items and for unsorted data.

So I implemented binary search algorithm in JavaScript (project in github) and used performance object to measure the elapsed time for x amount of objects and compare it to normal for loop for each item.
Continue reading “Binary search vs linear search using JavaScript “