amosproj / amos2021ss08-carbon-footprint

AMOS Project 8 - Carbon Footprint
MIT License
6 stars 2 forks source link

Integrate data from SimaPro into the graphs #82

Closed MichaelScheiderer closed 3 years ago

MichaelScheiderer commented 3 years ago

User story

  1. As a salesperson
  2. I need to visualize and show to my customers what was calculated in SimaPro
  3. So that I can convince my customer to decide for a product which reduces CO2 impact

Acceptance criteria

Definition of done

Waldleufer commented 3 years ago

@SaiVarunVaranasi @ScoutAtlas and @Waldleufer tried to make that work, but the data we get and the data we want to display seems incompatible. Crosspost from Slack:

Waldleufer commented 3 years ago

We currently get a lot of data:

image (3)

And the problem we are having is:

By using the function to get the data (https://amosproject8.slack.com/archives/C020MFC5AU8/p1623138797001700) we get a lot of data (60.000 lines of data Computation takes about 10s on the SimaPro Server) and still the data that is required to fill the tables, that we should use is missing.

Screenshot 2021-06-10 153727

MartinDuersch commented 3 years ago

https://stackoverflow.com/questions/27192621/reactjs-async-rendering-of-components how about this