Giter VIP home page Giter VIP logo

ufos's Introduction

UFO Sightings with JavaScript

Purpose

Using JavaScript and HTML with Bootstrap and D3, an interactive webpage was developed to allow users to view data on UFO sightings recorded during January of 2010. The data is presented in a table and can be filtered based on 5 input fields.

Overview

A snip of the rendered page:

overview.png

Results

To filter the table, the user must input something in one of the input fields and then hit enter. The table will return rows which meet this criteria. The table can then be further filtered down by selecting another criteria to enter in one of the other fields. In this image, the table was first filtered on Date = "1/9/2010" and then further narrowed with the addition of "light" in the Shape field. This stepwise filtering approach will maximize the return of data in the table.

filtering.png

Summary

Drawback of the Redesign:

  • If the user enters too many criteria in the filtering fields all at once, the table is likely not to return any data.
  • The original design of the webpage allowed users to filter by date only and contained a button to initalize the filter. The new design removed the button.

Further Development:

  1. Add a button to clear the fields after completing a search. To clear the fields currently, the user must empty them manually or reload the page.
  2. The alignment of the search fields with its corresponding label could be fixed with the label above the field or a fixed distance from the field to improve the aesthetic. Also the placeholder text could be greyed out to make that distinction more obvious.
  3. This small dataset contains some typographical errors and lacks consistency in units, punctuation and capitialization. Some cleaning may be in order.

Resources

app.js - defines the functions which filter and build the table from the data.js array

index.html - renders and formats the webpage, connecting all the elements: bootstrap, css, d3 library, dataset and javascript functions

ufos's People

Contributors

lnshewmo 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.