Code Monkey home page Code Monkey logo

tec-data-11-javascript's Introduction

Table of Contents

  1. UFO JS
    1. Overview
    2. Results
    3. Summary
    4. Closing Thoughts

UFO JS

The Truth is Out There!

Overview

In this project we had the mission to present data in an accessible and dynamic way. We had a few parameters to use for filtering, and even though the filters are simple, we get the information we want at the press of a key.

We managed to provide a fully functional HTML website with dynamic elements powered by Javacript and the best part is that we get to host it in GitHub and share it with clients and colleagues.

Results

We have a webpage with information at the top which gives us an introduction to the kind of data we are dealing with.

img

If we scroll down, we will find a table will all the available data. Note that we have filters in the left side as highlighted with the red rectangle.

img

We can filter the table on the right by entering text in the fields on the left. For example, we can look for all UFO with the shape of circle

img

Furthermore, we can make more complex searches by using the other fields. For example, if we wanted all sightings on 1/1/2010 in the state of ca with the shape of light, then we can do a query like the following:

img

We’ve managed to present a clear table in a compelling way without requesting a single piece of code from the user (for example no SQL or Python syntax for filtering, just typing!).

Summary

The mission was accomplished but it’s always good to take a step back before moving forward with more project.

There were a few issues with the website that made it not so profesional:

  1. The most crucial issue is the way we filter the data and how the code reacts immediatly on user input. We could add more information about what type of values are best for the fields. For example, a list of possible shapes could be useful, as well as possible state names.
  2. The reaction from the table is instantaneous which is not very user friendly as the bottom part of the layout moves too much when the values change.

We could improve the overall experience by adding a few more steps to our Javascript code. We could bring back the button or use a dropdown menu for the available shapes, cities or even date ranges.

We could also improve the CSS by making the div surrounding the table of fixed size and then just have a scroll bar using overflow: auto in case we get too many results. This would help with the sudden changes in layout.

Closing Thoughts

At the end of the day we succeeded on bringing together many pieces from different tools that we learned to use just recently. I am certain we can improve our design and interactivity skills in the near future as well as continuing using powerful JS libraries to provide even better user experience.

tec-data-11-javascript's People

Contributors

albertov5 avatar

Watchers

 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.