Visualizing data - abstract purple background with motion blur, digital data analysis concept

D3.js Bar Chart: Build Interactive JavaScript Charts and Graphs

Reading Time: 7 minutes Recently, we had the pleasure to participate in a machine-learning project that involved libraries like React and D3.js. Among many tasks, I developed a few d3 bar charts and line charts that helped to process the result of ML models like Naive Bayes. In this article, I would like to present my progress with D3.js so far and show the basic usage of this javascript Continue Reading

Swapping Two Array Elements in JavaScript

Reading Time: 3 minutes There are times when you need to swap two elements in an array in JavaScript while working with arrays. The bubble sort algorithm, for example, requires you to compare two numbers and swap them if your condition is true. This may be the algorithm question you’re working on. Apart from that, many other situations may require you to swap array elements. Here is an illustration Continue Reading


Working and functioning of Promises in Javascript

Reading Time: 4 minutes Promises In JavaScript, asynchronous operations are handled through promises. When dealing with several asynchronous activities, where callbacks might lead to callback hell and incomprehensible code, they are simple to manage. Events or callback functions were being used before the promises, but they provided limited functionality and resulted in unmanageable code. The callback hell that would result from having several callback functions would make the code Continue Reading


Modify The DOM Behaviour In Angular: Angular Directives

Reading Time: 3 minutes Angular is a client-side web app creation technology. There are multiple ways to manipulate DOM behavior in Angular, but today we are going to learn Angular, one of the most asked topics in an interview Angular Directives. Angular Directives One of the hottest topics in angular is angular directives. Angular directives are used to manipulate DOM( Document Object Model) or add new behavior. In Simple Continue Reading

Young Asian software developer working over new program

Understanding the concept of Closures in Javascript

Reading Time: 3 minutes Introduction You must have worked with Javascript functions and closure is an essential concept of functions in javascript. So, in this blog, we will understand the concept of Closures in javascript and how it works. Firstly we will understand the concept of lexical scoping. Lexical Scoping Lexical scope is the ability of a function to access variables outside its scope i.e. from the parent scope. Continue Reading

How to work on JavaScript with RegExp?

Reading Time: 4 minutes What Are Regular Expressions? This is a sequence of characters used to match character combinations in strings for text matching/searching. Regular expressions in javascript are search patterns (JavaScript objects) from sequences of characters. RegExp makes searching and matching strings easier and faster. How to Create RegExp Objects in JavaScript? Regular expressions in JavaScript are created with the RegExp object. Literal Notation Literal notation is one method of Continue Reading

Working with Environment Variables in NodeJS

Reading Time: 3 minutes Introduction Environment variables are one of the most important concepts of Nodejs that allow the application to behave differently for each environment such as development, stage, and production. It is commonly used for: protecting secrets (DB config, API keys, etc) assigning dynamic system resources like port_name, host_name, etc. How to read environment variables from node.js The process core module of Node.js provides the env property Continue Reading


Fundamentals of Event Management in React

Reading Time: 5 minutes Introduction Events are some type of interaction between the user and the app, the user performs some action resulting in some reaction from the app. Any time a user clicks, drag-and-drop, fills in the input field or hovers over an element an event occurs. We as a Developer defines the function to respond to the event that occurred. These functions are event handlers and they Continue Reading

Run your aggregation queries at a speed of 14x without spending $$$

Event Bubbling and Capturing in Javascript

Reading Time: 3 minutes Introduction In Javascript, you must have worked with the events. In this blog, we will be going through two important concepts in Javascript related to events i.e. Event bubbling and Event Capturing. Both of these concepts are related to the propagation of events which we call Event Flow. So, let us understand these concepts. Bubbling Event Bubbling is the concept of the sequence of invoking Continue Reading

Hoisting in Javascript: The Complete Overview

Reading Time: 5 minutes Hoisting in javascript refers to the process whereby the interpreter appears to move the declaration of functions, variables(var, let, const), or classes to the top of their scope, prior to execution of the code or we can say that while compiling the code. Also, Hoisting is a concept in JavaScript, not a feature. So let’s take a look into this concept. Introduction to the JavaScript Continue Reading

What is Fluent Wait and Its Advantages In Selenium?

Reading Time: 5 minutes Hello People, As you may be knowing If you want to become an expert at using Selenium Webdriver, one of the most important skills to master is the use of the Wait commands. Waits are essential for executing test scripts and help identify and resolve issues related to the time lag in web elements. This article will offer a detailed description of how testers can Continue Reading

Pure and Impure Functions in Javascript

Reading Time: 2 minutes Introduction Hello readers! In this blog, we will be going through the concept of pure and impure functions in javascript and their advantages. So let’s dive into it. Pure Functions Pure functions are those functions that do not create any side effects. In simpler terms, you will not be changing any external code in a pure function and the output for that function will always Continue Reading

Observable v/s Promise in Angular

Reading Time: 3 minutes Introduction We must have worked with both these concepts – Promise and Observable or must have heard about them. However, we might get confused about which one to use when. To avoid this confusion we must be knowing about the differences so that we can choose the appropriate one for our situation. It all depends on your use case and which one to choose. So Continue Reading