Giter Club home page Giter Club logo

distortion's Introduction

JS-Exercise, The Distortion Bar

Hi Devs, It's Distortion time, so your task is to create a data-visualization for a bar called FooBar.

The bar needs a visualization on how many people are currently in queue to get a cold beer. You can see the data right here:

https://kea-alt-del.dk/kata-distortion/

The data refreshes every 10 seconds, so if you could set up the script to fetch every 10 seconds or so, that would be great.

Requirements

  • You must create a service that shows the amount of people in queue.
  • The service must ask for data regularly, like every 10-20 seconds
  • The visualization should be more than just a number (you can find inspiration below)

The visualization

  • The amount of people in queue can never be greater than 25
  • Feel free to come up with something interesting
  • Animations are awesome
  • How about a "speed gauge?"
  • Or a chart?
  • Or ...

Hand in

Hand-in on Fronter before 23:59 Sunday

Hints & Suggestions

With new data every 10 seconds, can you come up with a way of showing the changes?

  • You could simply log the information on the screen (good first step)
  • But, how about an element that animates to a new state whenever there's new data?

distortion's People

Contributors

jonasholbech avatar jofhatkea avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.