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

US Census Bureau shapefiles example #1496

Merged
merged 3 commits into from
Jul 3, 2024
Merged

US Census Bureau shapefiles example #1496

merged 3 commits into from
Jul 3, 2024

Conversation

Fil
Copy link
Contributor

@Fil Fil commented Jul 1, 2024

deployed at https://observablehq.observablehq.cloud/framework-example-loader-census/

Note: this example slightly differs from the original https://mbostock.observablehq.cloud/framework-help/2024-05-01-census-boundaries/ in that:

  • it uses a .sh extension instead of a .exe extension
  • it uses topojson.mesh to draw the counties borders

Using the .sh extension makes it simpler (no +x bit) but forces a small modification of the script: for some reason the construction with <(script) doesn't seem to be compatible with the way we invoke shell scripts. Maybe it's sh vs. bash?

@Fil Fil mentioned this pull request Jul 1, 2024
19 tasks
@jaanli
Copy link

jaanli commented Jul 2, 2024

This is awesome!! Notes on use case @onefact for health care / open source:

We need to link these shapefiles to these core-based statistical area shapefiles:

https://github.com/onefact/american-community-survey/blob/main/notebooks/core_based_statistical_area_metropolitan_area_shapes.ipynb

Demos if needed:

https://onefact.github.io/healthcare-data/

https://onefact.github.io/new-york-real-estate/

https://onefact.github.io/american-community-survey/new-york-area/income-by-race

Several entities are currently using these dashboards to help allocate resources and understand public-private partnership to ensure equitable allocation. Happy to share more context if needed :) appreciate this example immensely!

Copy link
Member

@mbostock mbostock left a comment

Choose a reason for hiding this comment

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

Looks good, but can you re-copy the script into the Markdown so they’re consistent?

examples/loader-census/src/index.md Outdated Show resolved Hide resolved
examples/loader-census/src/index.md Outdated Show resolved Hide resolved
@Fil Fil merged commit cfbb473 into main Jul 3, 2024
4 checks passed
@Fil Fil deleted the fil/example-census branch July 3, 2024 06:43
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.

3 participants