dataforgoodfr / dataforgoodfr/14_Data4Trees

Display Dashboard for Forest Inventory

Open
#164 0 comments 0 reactions 1 assignee View on GitHub

@severo is already working on this.

Since Jun 8, 2026.

D4T_Frontend P0
Dominant language
TypeScript
Stars
9
Forks
0
Avg merge
10d 11h
Merged PRs (30d)
4

Description

Objective

The goal of this ticket is to display the "inventaire" layer charts with agregated indicators.
The expected design is available here : https://www.figma.com/make/QtxYpR1v4gT53ZmUXIrLTn/System-Dashboard--All4T-?p=f&t=0Fi37DSB9pEM5Lk4-0

Image
Context
  • The dashboard page skeleton with a first chart example has already been created in #163
  • The endpoint ${HOST}/api/maps/dashboard/${LAYER_ID} returns agregated indicators by year.
  • For now, only the indicators of the layer 'inventaire" (corresponding to forest indicators) are supported.
  • ⚠️ Not all agregated indicators are computed correctly, because it's still a work in progress. Plan a fallback with fake data for those indicators see an example of data formatting here
  • Ideally, try to reuse as much code as possible from features/indicators module or to adapt it so it can be used for popup data and dashboard data (forest indicators correspond to biodiversity and soil folders)
  • A user must be logged in to access the dashboard page. see the App router
    - staging admin credentials are available at the end of this doc
  • The client that retrieves data from the backend has already been created. see api client
  • A first chart is already displayed on the dashboard page based on the retrieved data. see Dashboard Page
  • The expected charts to be displayed are not exhaustive on the figma design. For exhaustivity, check this file](https://docs.google.com/document/d/1nJdUncC4BTojnhH6J1J0WxjXQzRe5nBQevK2-YyvzV4/edit?usp=sharing) under section DASHBOARD and sub section Biodiversité
  • All the expected charts components excepted line charts components have already been created for the popup feature see features/charts, biodiviersity and soil folders. They should be reused for the dashboard charts. (similar data shape)
  • Line chart components must be added in the features/charts module.
  • Error values will be displayed in the charts with another ticket, see #168

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.