- You are given a JSON file with an array of Objects. Every element can be grouped together using the "type" property.
- Your job is to import the data and arrange them in a way that the elements are evenly distributed.
- You then have to create a server using node.js(micro or express) and serve this distribution upon request.
- Create a frontend using either VanillaJS, React, Angular, Vue or Hyperapp that consumes this distribution and colors all the elements with similar type. For Example, if I click "typeA", it should color all the positions that this type exists at.
- Provide buttons on the UI for each type so we can toggle between types. All unique types in the data should have buttons on the UI.
- Sample pictures are in the "outputExamples" folder.
- You can display the distribution in any similar way possible (get creative). Visualization is upto you (you can use libraries like D3.js).
- Please add references to all the mathematical formulas or theorms used to achieve these results.
- If you come up with your own algorithm please explain in brief how, why and when for the algorithm.
- Create a branch from master and pull request when you're done.
- Reach out to us if you have any questions and inform us when you're done.
- Place the Frontend in the root folder "static".
- Update the README.md file with the instructions on how to test the app.
- If you deploy this app on a cloud(preferably on AWS).
- The output images are just the example visualizations we are expecting to see when we click a type
- Output images do not necessarily represent even distribution
{{Your Instructions}}