This is my personal project developed for practicing my skills.
This is project is about showing machine data present in json file to Graphical Representation. Project uses sample data in the format of json file and renders it onto the web page. We can also make use of any databases such as MySQL, MongoDB, etc. to use fetch data but as this is only practice project made by me, I preferred to use json file for now. In future, this project can be expanded to include database and also improved UI/UX.
Today we see that data generated by machines and human is in large amount which is of order 1012bytes each day. To get some information or conclusion from it, it should be represented in some imaginable presentation. Those can be of many types such as graphs, tables, motion graphics, etc. Now we can draw some conclusion from data and work on it for some business needs, personal needs or for any scientific research,etc.
So, I used graph to show sample machine data in horizontal bar graph presentation. Data is present in json file of following format
{
"ts" : Timestamp in string format,
"machine_status" : Machine status (1 or 0),
"vibration" : Vibration value (integer type)
}
We have to select start time for graph and also set time frequency (amount of time for which we want to look for which is in "hrs"), after doing this we can see rendered data.
I also used table to show for how many times the machine was in 0
state and 1
state and the total
of it. This also helps to understand the data for selected time slot.
- Language: Javascript
- Fontend: Reactjs
- Backend: Nodejs, Express
- APIs: REST architectural pattern
Below, I am attaching screentshots of webpage which is highly responsive
✅ We can add database to store and fetch data
✅ Make some optimization on server side to process data in less time .
✅ Improve UI/UX to more engage users
✅ Metadata for graph can be added (like x and y axes values)
And the list goes on as per our needs 😃
As you have approached here, I want to thank you for reaching out here. Have a great and prosperous life ahead!! 🧡 😃