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

Add "chart map" family #74

Closed
wants to merge 401 commits into from
Closed

Add "chart map" family #74

wants to merge 401 commits into from

Conversation

jack-davison
Copy link
Collaborator

@jack-davison jack-davison commented May 29, 2024

This PR tracks the implementation of #70.

Current ideas:

  • valueMap() - creates spot concentrations w/ one pollutant, or bar charts w/ multiple pollutants

  • distributionMap() (a bit wordy) - creates histograms, density plots, (box plots?)

  • trendMap() - creates trend plots (with bars, lines, steps, etc.)

  • variationMap() - creates timeVariation()-style markers with type on the x-axis


Alternatively, for simplicity for the user, can look for a single function, chartMap(), that intelligently picks a default chart type depending on choice of type and pollutant, e.g.,

image

jack-davison and others added 30 commits January 15, 2023 16:50
Add argument to control facet rows
Preferable to just cairo png.
Replace map_dfr w/ map > list_rbind, and map_chr w/ map_vec.
Add seealso to refer back to static maps.
Use categorical legend instead of steps, which has broadly fewer issues (e.g., no problems looking squished with lots of bins).
Use single icons rather than icon sets - more robust and less open to issues, and more similar to static maps.
Combine static/leaflet together now that they are so similar. May be able to reduce repetition further.
More robust, consistent w/ all-in-one maps
For whatever reason, some people may want non-circular markers. This allows a vector to be passed to d.icon and d.fig.
@jack-davison jack-davison self-assigned this May 29, 2024
@jack-davison jack-davison added enhancement New features map:charts 📊 Anything to do with the "chart map" family labels May 29, 2024
@jack-davison jack-davison linked an issue May 29, 2024 that may be closed by this pull request
@jack-davison jack-davison deleted the feat/chartmaps branch September 26, 2024 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features map:charts 📊 Anything to do with the "chart map" family
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request]: Box plots
3 participants