« back to Projects



Set of applications to visualize SF building energy consumption and greenhouse gas emissions.

This project is part of Data Science Working Group at Code for San Francisco

Project Description

The original goal of the SF Environment Benchmark project was to visualize building energy consumption and greenhouse gas emissions to encourage owners and building managers to make proper changes. In addition we would like to analyze the data available to see if we can predict what energy consumption or emissions will be like in the future. We’ve currently developed a prototype web application that visualizes the data in an interactive format. In addition, we’ll be meeting with the SF Department of Environment, who are the stewards of the data, to see what their needs and requirements are. We can cater the project to their needs and requirements to make sure to solve problems at hand.

Contributing DSWG Members

| Name | Slack Handle | Contribution | | —| — | — | | Sanat Moningi | @sanat | Visualization | | Tyler Field | @tyler | Visualization | | Geoffrey Pay | @gpay | Visualization | | Baolin Liu | | Modeling |


  • D3
  • Leaflet
  • Mapbox.js


At the moment, this project is on hold as we wait to hear back from the Department of Environment. If there’s something you want to help out with, here’s how to get started:

Fork this repo, then clone your repo locally

$ git clone <your-repo>
$ cd <this-repo's-name>
$ git remote add upstream <this-repo>

Launch a local server. If you’re on a Mac, you already have SimpleHTTPServer installed:

$ cd path/to/local/clone
$ python -m SimpleHTTPServer

You could also use http-server if you wanted
Create a feature branch:

$ git checkout -b <feature-branch>

Do some work:

$ vim <some-files>

When you’re ready, commit, merge any upstream changes, deal with conflicts, and push your branch (aka, forking workflow)

$ git commit -am 'my awesome feature'
$ git pull upstream master
  # solve conflicts
$ git push

Create a Pull Request from your pushed branch (compare branch) to this repo (base branch)