Create a table dynamically based upon a provided dataset. Users need the ability to filter the table data for specific values.
- The basic website template has already been created.
- Use the dataset provided in the form of an array of JavaScript objects. Write code that appends a table to the web page and add new rows of data as needed.
- Make sure that there is a column for
date/time
,city
,state
,country
,shape
, andcomment
at the very least.
- Make sure that there is a column for
- Use a date form in your HTML document and write JavaScript code that will listen for events and search through the
date/time
column to find rows that match user input.
-
Only pure JavaScript, HTML, CSS, and D3.js can be used.
-
Using multiple
input
tags and/or select dropdowns, write JavaScript code so the user can to set multiple filters and search for UFO sightings using the following criteria based on the table columns instead of just the date:date/time
city
state
country
shape