diff --git a/app/data_request.py b/app/data_request.py index 60e477a..0479a50 100644 --- a/app/data_request.py +++ b/app/data_request.py @@ -1,5 +1,3 @@ -from json import dump - from requests import get from constants import URL diff --git a/app/processing.py b/app/processing.py index c44f6eb..29f0f8a 100644 --- a/app/processing.py +++ b/app/processing.py @@ -1,6 +1,3 @@ -from base64 import b64encode -from io import BytesIO - from app.preprocessing import create_dataframe, create_map @@ -13,5 +10,5 @@ def create_table(df) -> str: def process_data(dataset): df = create_dataframe(dataset) table = create_table(df) - map = create_map(df) - return table, map + create_map(df) + return table diff --git a/app/templates/visualization.html b/app/templates/visualization.html index c077d69..81fa254 100644 --- a/app/templates/visualization.html +++ b/app/templates/visualization.html @@ -3,7 +3,9 @@ {% block app_content %}

Dataset visualization

- + + {{ table|safe }} +

Back

{% endblock %}