Value Proposition:
As a user
I want to see a abstract visualization of the locations from which the entries are
so that I have a feeling of connection and can understand the scope all the entries
Description
similiar to the moods map, a field of circles, differently sized and colored, showing all the regions found in the database and how many entries are coming from those regions.
Acceptance Criteria:
a new maps page that has a switch which lets the user switch between two different views
like the moods map, a visualization of all the locations (regions) present in the database
the same interactivity as in the moods map before
Tasks:
create a new branch (locations-map)
write a new util function that looks at fetched data (all entries in the database) and returns an array of two objects, very similar to the moods map, which contains all the different regions, a random color for each, the amount of entries made from that region and a second object that contains an overall count of all entries
create a new component called MapOfCircles to abstract the visualization away from the logic and feed it with either one of the return of the util functions (locationAnalyser or experienceAnalyser)
create a new maps.js page to wrap all these components together, fetch data here and distribute it to the components
create a switch component to switch between the two maps
Value Proposition: As a user I want to see a abstract visualization of the locations from which the entries are so that I have a feeling of connection and can understand the scope all the entries
Description
similiar to the moods map, a field of circles, differently sized and colored, showing all the regions found in the database and how many entries are coming from those regions.
Acceptance Criteria:
Tasks: