This dashboard consists of a chart that displays the GHG emissions of Germany from the period 2019-02-01 to 2022-06-15. Is possible to select a GHG type to get its related data.
To install the application dependencies, use yarn install
To run the application locally in development mode, use yarn start
- To execute the unit tests use
yarn test
This open-source API is being used to fetch the GHG emission data: https://api.v2.emissions-api.org/ui/
To add CSS style is being used css-modules because it is efficient and it is scoped locally
The recharts ResponsiveContainer is not working with React 18 render method. So it is being used the React 17 render for the App, which gives a warning on the console.
Please use the following libraries for your solution.