Cumulative

Property

For RiskFactor.com's Flood Factor, we display flood cumulative data in 5 year increments.

Sample Request

{
  property(fsid: ...) {
    flood {
      probability {
        cumulative {
          mid
          yMaxMid
          relativeYear
        }
      }
    }
  }
}

This request will provide data that is represented in the graph below.

When displaying cumulative data on a bar graph, utilize the following rules based on the field names above.

FieldDescription

mid

The label for the value represented on the x-axis.

yMaxMid

The maximum fill of the y-axis, represented from 0-100. The max of each bar should be 100.

relativeYear

The x-axis representation of year. Using relative year will allow for future-proofing later updates.

Last updated