On Github lkpanganiban / foss4g2014
Charmyne Mamador & Luis Caezar Ian Panganiban
"The coolest thing to do with your data will be thought of by someone else"
Dr. Rufus Pollockpython -v
Installing Python Package Manager[sudo] apt-get install python-pip
Installing Virtual Environment[sudo] pip install --proxy http://proxy:port virtualenv
Creating and Activating Virtual Environmentvirtualenv foss4gEnv
source foss4gEnv/bin/activate
Installing Flask(foss4gEnv)pip install --proxy http://proxy:port flask
#run.py
from flask import Flask
app = Flask(__name__)
@app.route("/")
def home():
return "Hello World!"
if __name__ == "__main__":
app.debug = True
app.run()
terminal: python run.py
#run.py
from flask import Flask, render_template
app = Flask(__name__)
@app.route("/")
def home():
return render_template("index.html")
if __name__ == "__main__":
app.debug = True
app.run()
JavaScript library for manipulating documents based on data
Stanford University's Stanford Visualization Group
Protovis
Mike Bostock
Theme & Data
Map - with regional boundaries
Circle markers
Percentage Value
Events
"Don't just buy a new video game — make one, Don't just download the latest app — help design it. Don't just play on your phone — program it."
US Pres. Barack Obama