visualize-admin / visualization-tool

The tool for visualizing Swiss Open Government Data. Project ownership: Federal Office for the Environment FOEN
https://visualize.admin.ch
BSD 3-Clause "New" or "Revised" License
30 stars 3 forks source link

Suboptimal Color Selection in Data Visualization #1740

Open timvonfelten opened 6 days ago

timvonfelten commented 6 days ago

Describe the bug The random color selection for data visualization doesn't provide an optimal user experience, especially when displaying multiple categories. Colors may not sufficiently differ, leading to confusion in interpreting the visualization.

To Reproduce:

  1. Access a dataset with multiple entries (e.g., https://test.visualize.admin.ch/create/GnuwGnO1Iu5K?dataSource=Test)
  2. Choose segmentation with "Warenkorb Nummer"
  3. Select all top-level entries (1-13)
  4. Remove all entries except two with the same color
  5. Apply the filter
  6. Observe the resulting visualization with two categories in the same color

Expected behavior

Actual Behavior

Screenshots or video Bildschirmfoto 2024-09-11 um 10 57 13

Environment:

Additional context

KerstinFaye commented 6 days ago

Hi @timvonfelten, Thank you for your feedback. We're currently working on improving the color selection for charts. We'll provide an update on these improvements soon.