…torial, you learned how to create line charts in Plotly.js. Every aspect of line charts, like the data to be plotted and the shape or color of the line connecting the plotted points, can be controlled using a set of attributes. Plotly.js allows you to create bar charts in a…
…to create line charts and bar charts in Plotly.js. As I mentioned in the introductory tutorial of the series, Plotly.js is not limited to just a few chart types. There are more than 20 different kinds of charts that you can create using the library. Each of these chart types…
…to set the mode to lines while creating line charts and markers when creating bubble charts. Similarly, Plotly.js allows you to create pie, donut and gauge charts by using the same value for the type attribute and changing the value of other attributes depending on the chart you want to…
…to write programs that run in a browser or on a server using Node. Because of Node, you can use JavaScript to build full web applications like Twitter or games like Agar.io. This is the first lesson in a four-part series where I will teach you the programming fundamentals you…
…to log in users. You may want to direct a user to one page if they give the correct credentials and send them to another if they aren’t registered. To do this, you need to use a decision structure like an if statement. This will perform an action only under…
…to do anything with this code because there is no structure to it. To solve this problem, you could use functions. A function is a group of statements that perform a specific task. Functions allow us to break up a program into smaller programs, making our code more readable, reusable,…
…top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;} Aside from building APIs, Node.js is great for building standard web applications. It has powerful tools to meet the needs of web developers. In this tutorial, you will be building a web application that can serve as a local library. While building, you will learn about some types of…
…to write a program that displays the numbers 1–100. One way you could accomplish this is to write 100 console.log statements. But I’m sure you wouldn’t because you would have become fed up by the 9th or 10th line. The only part that changes in each statement is the number,…
…top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;} In this article, we’re going to cover the authentication system in the Laravel framework. The main aim of this article is to create a custom authentication guard by extending the core authentication system. Laravel provides a very solid authentication system in the core that makes the implementation of basic…
…top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;} Building single-page applications is an art, with many impressive frameworks to choose from. One of the most intuitive and widely used frameworks for building both web and mobile applications is Angular. Today, Angular 10 is out, and there are many impressive features. However, you need to master components before…