-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Case hotspots #229
feat: Case hotspots #229
Conversation
…up if the population exists
Visit the preview URL for this PR (updated for commit 86d7e0b): https://signal-ri--pr229-case-hotspots-jpncmowe.web.app (expires Tue, 30 Apr 2024 20:21:01 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 00e607c4a7f37e76a51e675795a92e0f2f741992 |
I'm going to take a look at fixing up the gap chart ! |
@eldu to investigate squishification |
…into case-hotspots
fix: hotspot chart domain
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving, two comments !
import { fetchKeys } from "../../../utils/firebase"; | ||
import { prettyDate } from "../../../utils/utils"; | ||
|
||
// const datasetName = "case_hotspots"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ooohhhhhhh commented out code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh noooo
export const sortByProperty = (property) => (a, b) => { | ||
let valA = a[property]; | ||
let valB = b[property]; | ||
|
||
// if NaN, make MIN_VALUE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wondering if it should be 0, but I'm also okay with Number.MIN_VALUE !
No description provided.