2024 02 27 - TheEvergreenStateCollege/upper-division-cs-23-24 GitHub Wiki

Week 08 - Tuesday

Web Front-End - Morning Session

  • Events
  • U.S. Map Activity

We will translate this code (in an HTML style)

into the functional form of from last week

To get the cities and their data in JSON form, you can fetch from

You will need a projection function, which translates from longitude and latitude to pixels, so that the city overlays will map the U.S. state map outlines.

projection = d3.geoAlbersUsa().scale(1300).translate([487.5, 305])

Events