WSWCWaterDataExchange / WestDAAT

Managing the code of the Western States Water Data Access and Analysis Tool (WestDAAT)
https://westdaat.westernstateswater.org/
BSD 3-Clause "New" or "Revised" License
5 stars 4 forks source link

Toggle point size based on priority date #331

Open amabdallah opened 11 months ago

amabdallah commented 11 months ago

Feature: During the Western States Federal Agency Support Team (WestFAST) demo, there was a request to visualize points of diversion with a circle size depending on the priority date, such as the older the water right, the bigger the circle.

Solution logic: I guess this is a similar logic to the existing feature to toggle point size based on flow or volume amounts, but instead of numeric values, it would be in date format.

Example: show me the points with the most senior water right (oldest date) with the biggest circle as in this example.

https://westdaat.westernstateswater.org/?state=N4IgtghgDiBcoC8D2SwBkCmA3DAbOAnAHQEBMpALAGwAMA7AVaQBwEF10A0IuEALgEs%2BAVwAmGOBQCMJUrSndcSAHYBzIWImwAtFL1EOBAMxUAvtwDuAJzigARhmUYAZgIDGAiLgCqAZwwAchBgGL5wANogAIKqVu7CuCJWGAAEAJJWcar8AiogALrcAspuuJoAogAeGGBQfHDOXv7cUEiiAApIwnAg7QDyACIg3JCV7XFIcXwAngP8WtqkAKyUFIwUNDRFvgG4ogIAYgKJGFZRboI4cHxWwhjcynuHx3ync3wQtjw5IuKSMgQ9FweCp1L8FnoZMw6EsjNx9skLrllGFYHCQKJ%2BBBOsU%2BKipKZzCBrKIvq1cQBlAQILQgZzDcDQADiVi6UGKqh6dm6RLAqJAvhuGAweO0WD0IFMQA

PointSize-related code https://github.com/WSWCWaterDataExchange/WestDAAT/blob/0af414efc959d026ebcb775bad3f6c55cbb40f64/src/DashboardUI/src/components/home-page/water-rights-tab/display-options/PointSize.tsx

Toggle point size based on priority date image