Skip to content

paperplate/capstone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lost Years

This was my undergrad capstone project. It was an idea for how to go about communicating the impact of the opioid crisis to the public.

Getting Started

To run the application:

python app.py

This will start a local flask server listening on port 8080.

Prerequisites

Required packages (used pip3 for Python, and npm for JS):

Python3

Flask, Pandas

Javascript

d3, leaflet, Leaflet.markercluster, topojson, bootstrap, crossfilter, jquery, underscore, queue

Installing

Just need to download the source code and associated packages.

Coding Style Tests

I just used Codacy to test my coding style. Codacy Badge

Deployment

Line 41 in the app.py file may need to be modified to make it run on a live system.

app.run(host=os.getenv('IP', '0.0.0.0'), port=int(os.getenv('PORT', 8080)))

Built With

  • Flask - The Python framework used
  • Pandas - Reads the data and turns it into JSON
  • d3 - Used to generate the charts
  • leaflet - Used to make the map
  • bootstrap - Handles the layout of the web page
  • crossfilter - Handles the dynamic filtering of the data in the charts.
  • underscore - Convenience JS functions

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details