Skip to content
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

Migrate unknown map to d3 #3923

Merged
merged 20 commits into from
Jan 24, 2025

Conversation

eriwarr
Copy link
Collaborator

@eriwarr eriwarr commented Jan 22, 2025

Description and Motivation

This PR converts the unknowns choropleth map from Vega to D3.

Has this been tested? How?

  • Ensured tooltips display correct information, remove on mouseout, and reset when switching maps.
  • Verified map rendering with the gradient legend and "no data" indicator.

Screenshots (if appropriate)

Types of changes

  • New content or feature
  • Refactor / chore

New frontend preview link is below in the Netlify comment 😎

Copy link

netlify bot commented Jan 22, 2025

Deploy Preview for health-equity-tracker ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 6913106
🔍 Latest deploy log https://app.netlify.com/sites/health-equity-tracker/deploys/67915a2be34d9f000822b794
😎 Deploy Preview https://deploy-preview-3923--health-equity-tracker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jan 22, 2025

Deploy Preview for health-equity-tracker ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 30ee896
🔍 Latest deploy log https://app.netlify.com/sites/health-equity-tracker/deploys/67927e601a287a00088ffb2f
😎 Deploy Preview https://deploy-preview-3923--health-equity-tracker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@benhammondmusic benhammondmusic self-requested a review January 22, 2025 21:44
Copy link
Collaborator

@benhammondmusic benhammondmusic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • need to make the legend demarkations more sparse on smaller width views
  • the bottom half of the map is getting cropped; not sure if it’s due to the territory bubbles?

Screenshot 2025-01-22 at 3 51 23 PM

Copy link
Collaborator

@benhammondmusic benhammondmusic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome work! I think once we've moved the final rate map over to d3, we can then pursue refactoring things to share functionality between all the cards. like there should probably be one unified tooltip style for all the cards, and the info inside each can change but the component can be shared. same for any legends, axis ticks, etc etc

@eriwarr eriwarr merged commit 610cae6 into SatcherInstitute:main Jan 24, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants