- Notifications
You must be signed in to change notification settings - Fork0
A challenge that uses HTML and CSS to provide an interactive visualization of city weather data.
eddiexunyc/Web-Design-Challenge
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Data is more powerful when we share it with others! Let's take what we've learned about HTML and CSS to create a dashboard showing off the analysis we've done.
Create a new repository for this project called
Web-Design-Challenge
.Do not add this homework to an existing repository.Clone the new repository to your computer.
Inside your local git repository, create a directory for the web challenge. Use a folder name to correspond to the challenge:WebVisualizations.
Add yourhtml files to this folder as well as yourassets,Resources andvisualizations folders.
Push the above changes to GitHub or GitLab.
Deploy to GitHub pages.
For this homework we'll be creating a visualization dashboard website using visualizations we've created in a past assignment. Specifically, we'll be plottingweather data.
In building this dashboard, we'll create individual pages for each plot and a means by which we can navigate between them. These pages will contain the visualizations and their corresponding explanations. We'll also have a landing page, a page where we can see a comparison of all of the plots, and another page where we can view the data used to build them.
The website must consist of 7 pages total, including:
- Alanding page containing:
- An explanation of the project.
- Links to each visualizations page. There should be a sidebar containing preview images of each plot, and clicking an image should take the user to that visualization.
- Fourvisualization pages, each with:
- A descriptive title and heading tag.
- The plot/visualization itself for the selected comparison.
- A paragraph describing the plot and its significance.
- A"Comparisons" page that:
- Contains all of the visualizations on the same page so we can easily visually compare them.
- Uses a Bootstrap grid for the visualizations.
- The grid must be two visualizations across on screens medium and larger, and 1 across on extra-small and small screens.
- A"Data" page that:
- Displays a responsive table containing the data used in the visualizations.
- The table must be a bootstrap table component.Hint
- The data must come from exporting the
.csv
file as HTML, or converting it to HTML. Try using a tool you already know, pandas. Pandas has a nifty method approprately calledto_html
that allows you to generate a HTML table from a pandas dataframe. See the documentationhere
- Displays a responsive table containing the data used in the visualizations.
The website must, at the top of every page, have a navigation menu that:
- Has the name of the site on the left of the nav which allows users to return to the landing page from any page.
- Contains a dropdown menu on the right of the navbar named "Plots" that provides a link to each individual visualization page.
- Provides two more text links on the right: "Comparisons," which links to the comparisons page, and "Data," which links to the data page.
- Is responsive (using media queries). The nav must have similar behavior as the screenshots"Navigation Menu" section (notice the background color change).
Finally, the website must be deployed to GitHub pages.
When finished, submit to BootcampSpot the links to 1) the deployed app and 2) the GitHub repository.
Ensure your repository has regular commits (i.e. 20+ commits) and a thorough README.md file
- You may use theweather data or choose another dataset. Alternatively, you may use the includedcities dataset and pull the images from theassets folder.
- You must use Bootstrap. This includes using the Bootstrap
navbar
component for the header on every page, the bootstrap table component for the data page, and the Bootstrap grid for responsiveness on the comparison page. - You must deploy your website to GitHub pages, with the website working on a live, publicly accessible URL as a result.
- Be sure to use a CSS media query for the navigation menu.
- Be sure your website works at all window widths/sizes.
- Feel free to take some liberty in the visual aspects, but keep the core functionality the same.