/Console-Finances

Conducting financial analysis using JavaScript

Primary LanguageJavaScriptMIT LicenseMIT

Console-Finances

Description

This repo utilizes the concepts learned in Javascript fundamentals to address a real-world example. The task was to create code for analyzing the financial records of a company from a financial dataset which was provided.

Skills used include psuedocoding, variables, for loops, math, multidimensional arrays and conditional logic.

Issues

I had difficulty completing the analysis by operating directly with the 2D array, so I used the lengthy approach of extracting the data into a two separate arrays, performing the required operations on the single array, then querying indices of each new array to realign and retrieve the values required. This was due to my limited knowledge and inability to attain relevant information to adequately find the average of differences for one element within a 2D array, without the use of functions which is beyond the scope of this fundamentals project. Although, I found ample information for calculating the average of a column, the required method to find the average of the differences was never included.

Usage

The analysis can be accessed from this link: https://russkinori.github.io/Console-Finances/. Please see below for instructions and screenshots.

Once the webpage has opened, right click anywhere within its body (the white area) and select Inspect (usually the the last option of the pop up menu) as seen below.


This may also be achieved by pressing the combination of keys ctrl + shift + j or pressing f12 (along with fn if required). After which the screen will then be separated into two. If the inspection area appears too small, click on the >> symbol to reveal more options then select console to proceed. See screenshot below.


The results of the financial analysis will then be displayed as follows:

Use the horizantal resize arrow to expand the console area as needed. Screenshot below.

Credits

Materials used to facilitate the learning experience can be found via the links below:

Licence

Licensed under the MIT