Skip to content

DS4200-Sec2-F22/ic-13

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ic-13

More practice with D3

Link to GitHub Pages: [insert your clickable hyperlink here]

Purpose

The purpose of this assignment is to practice creating an interactive webpage with D3.

Clone this repo and work locally. Be sure to push the final version of your code (and any significant updates along the way) before submitting.

Instructions

  1. Resources to support this assignment are provided below in the Resources section.

  2. Create a GitHub Page for your repo and add the link to it above where you see [insert your clickable hyperlink here].

  3. Using the provided index.html, d3.js libray, an external CSS file (no styling should be included in your html file), and an external js file (no js code should be included in your html file), please do the following:

    • Title your webpage "ic-13".
    • Create two columns on your webpage.
    • In the first column, create a timeseries showing energy usage from 2016 to 2020 by Boston City Hall. (You may do some pre-processing of the city-hall.csv if you'd like.)
    • In the second column, create a timeseries showing energy usage from 2016 to 2020 by Boston Central Library. (You may do some pre-processing of the library.csv if you'd like.)
    • Add brushing and linking such that the user can brush over a time span in the Boston City Hall timeseries, and will see the selected time span highlighted in the Boston Central Library timeseries.
    • If you have time, add a third chart to the page. This chart should be a grouped bar chart that shows energy usage per-month for City Hall (one bar) and the Central Library (second bar). The months shown on the bar chart should correspond to the time span selected in the Boston City Hall timeseries. (You will need to do some data pre-processing to get the data needed for this chart.)
  4. Add a header to the bottom of your page. The header should say "Acknowledgements". Under this header, list of the resources you used to complete this assignment.

Resources

Note that there are different versions of D3 (we are using version 6), so make sure the tutorials you use are up-to-date (or you at least understand what is different about v6 versus older versions).

Data

Data is from data.boston.gov.

Submission

  • Be sure to push all changes to your repo and follow all instructions above.
  • Submit your assignment on Gradescope

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages