berlin / haushaltsdaten

Data visualization of Berlin's public expenditures
https://haushaltsdaten.odis-berlin.de
MIT License
8 stars 3 forks source link

Feat: Implement option to visualize 'Einzelpläne' in treemap #58

Closed Lisa-Stubert closed 2 years ago

Lisa-Stubert commented 2 years ago

The tree map has so far only displayed data based on the so-called functions (Hauptfunktion, Oberfunktion and Funktion). This pull request implements a new button in the UI of the treemap, which allows you to select whether the treemap should be generated based on the functions or instead on the individual plans (Bereich, Einzelpläne, Kapitel). I named the variable behind the button "modus". Depending on what the modus is, other requests are made to the API (controlled by the if queries). I had to make some adjustments for this. I hope every thing is okay.

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
haushaltsdaten ✅ Ready (Inspect) Visit Preview Aug 16, 2022 at 10:18AM (UTC)