SpartaHack 9
Winner [Interactive Media] Winner of the Track
Winner [Dewpoint] Best Interactive Visualization Hack
This project is a data analysis tool for SpartaHack9. It includes various scripts for data processing and visualization.
- Clone the repository
- Install the required Python packages
pip install -r requirements.txtTo use this project, follow these steps:
- Start the Flask server by running
main.py:
python main.py
-
Open your web browser and navigate to
http://localhost:5000. -
Use the links to download the data files.
-
Use the
updateContent(filename)JavaScript function in the browser's console to update the content of the map and bar graph iframes. Replacefilenamewith the name of the data file you want to visualize (e.g., "BKW_data.csv").
-
create_bar_chart(filename)inbargraph.py: Creates a bar chart based on the data in the specified file. -
generate_map(filename)inmap.py: Generates a map based on the data in the specified file.
This project was developed by Aashish Harishcandre, Ethan Cook, Alia Fatima and Varun Kumar. Special thanks to SpartaHacks9.
This project is licensed under the MIT License.