ua-snap / ardac-explorer

ARDAC GUI Explorer
0 stars 0 forks source link

Add eleven more charts from a handful of data API endpoints + improve Precipitation Frequency chart #32

Closed cstephen closed 7 months ago

cstephen commented 8 months ago

This PR adds Plotly charts for the following data types from the SNAP Data API, implemented as their own ARDAC items:

These were chosen kind of randomly as interesting things to see in chart form (except for Temperature and Precipitation, which we have already seen on Northern Climate Reports).

I've added radio buttons and input widgets to allow the user to select parameters that are selectable from the API output, and fixed up the existing Precipitation Frequency chart in similar fashion. I'm not sure if we'll want to keep these inputs or not, but I think allowing the user to explore the data this way gives them a better sense of whether the data is of interest or not.

I did not add any text or thumbnail images to go along with the charts since this PR was big enough already and I figure we'll need to put more thought into this as a group, maybe as part of our big content push.

I've also added Lodash (with Deepdash) in this PR because data manipulation was getting unruly without it.

To test, take a look at the eleven new charts linked from the left column on the front page (+ the existing Precipitation Frequency chart). Interact with each chart and verify that everything looks adequate for a first iteration.