Skip to content
Snippets Groups Projects
Commit 123c17a9 authored by Daniel Myrén's avatar Daniel Myrén
Browse files

restructure and minor fixes

parent cf6d3ece
Branches
No related tags found
No related merge requests found
venv
\ No newline at end of file
# Requirements
- Visualize statistical data from Statistikdatbasen.scb.se focusing on European Parliamental Election data.
- The data contains geographical information and thus can be vizualized on the map
- D3 library will be used for graphical visalization
- **Frontend:** React , **Backend:** SQLAlchemy
- Dataman.se for topological data of sweden borders
## BASIC:
- Given hard coded table x,y data as input and visualize it on a plot
- Given hard coded table x,y, postition data as input, vizualize it on the map
- Mouse hover interaction on map of Sweden, highlighting the region the mouse currently hovers over
## IDEA 1:
- Visualize regional data on map of sweden
- Allows for focusing in on specific region for more fine detailed data
## IDEA2:
## ADVANDCED:
- Optional parameters?
- Interactive visalization
- Through API(Statistikdatabsen.scb.s) fetch live data and visualize it
- Graphical transitions of the visalization frame
## Profile
- Log in / Sign out
- Session token for saving log-in state locally
- Access to key features through log-in.
- User profile (Name, e-mail, password)
- Session token
-
blinker==1.7.0
click==8.1.7
Flask==3.0.2
importlib_metadata==7.1.0
itsdangerous==2.1.2
Jinja2==3.1.3
MarkupSafe==2.1.5
Werkzeug==3.0.1
zipp==3.18.1
from flask import Flask, render_template
app = Flask(__name__)
@app.route("/")
def homepage():
return render_template("index.html")
if __name__ == '__main__':
app.debug = True
app.run()
\ No newline at end of file
#!/bin/bash
# Allow execution by running: chmod u+x setup.sh
python3 -m venv venv
. venv/bin/activate
pip3 install -r requirements.txt
\ No newline at end of file
<!doctype html>
<html>
<head>
<title>This is the title of the webpage!</title>
</head>
<body>
<p>This is an example paragraph. Anything in the <strong>body</strong> tag will appear on the page, just like this <strong>p</strong> tag and its contents.</p>
</body>
</html>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment