JavaScript

What is D3.js: An introduction to data visualization in your Browser

D3.js is a JavaScript Library that stands for Data-Driven-Documents famous for creating interactive data visualizations, especially in SVG format. It was created in 2011 with the goal of creating SVG graphics from data. D3 helps you bring data to life with the help of technologies you already know, like HTML, CSS and SVG. In this …

What is D3.js: An introduction to data visualization in your Browser Read More »

JavaScript Date Objects (with a Real-Time Clock Application)

JavaScript has a Date object that provides information regarding the date and time. This information can be used for different purposes such as getting the current time, comparing dates, formatting dates, reminders, etc. JavaScript Date objects represent a specific point in time and do not depend on the platform they are being used on. The …

JavaScript Date Objects (with a Real-Time Clock Application) Read More »

JavaScript Object

JavaScript uses objects everywhere, it is a fundamental part of writing modern JavaScript code. JavaScript only has a few primitive data types(i.e. string, boolean, null and undefined, etc), and all the remaining data types are considered objects. Objects are non-primitive data types and can be of multiple types such as Boolean, Number, String, Array, Data, …

JavaScript Object Read More »

JavaScript Eval()

The JavaScript eval() method can execute a statement, expression, or a group of statements and return its completion value if it exists. JavaScript eval() Method The eval() is a method of the JavaScript global object. This method takes a string as an argument, this string can contain a statement to be evaluated, and this statement …

JavaScript Eval() Read More »

JavaScript if…else Conditional Statement

In programming, conditional statements are used for making decisions based on different conditions. Given certain conditions, different courses of action are taken based on those determinants. A programmer defines those conditions and if their boolean value evaluates to True, then some pre-defined action is taken, else, the code defined for the false value is computed. …

JavaScript if…else Conditional Statement Read More »