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 dams example dashboard #1350

Merged
merged 55 commits into from
Jun 18, 2024
Merged

US dams example dashboard #1350

merged 55 commits into from
Jun 18, 2024

Conversation

allisonhorst
Copy link
Contributor

@allisonhorst allisonhorst commented May 15, 2024

Deployed version is here: https://observablehq.observablehq.cloud/framework-example-us-dams/

Working version of a new example, with data on dam condition, location, hazard potential, etc. from the National Inventory of Dams.

Still to update:

  • marginLeft on horizontal bar chart (top left of by-state.md) to adjust if the longest type "Fire Protection, Stock, Or Small Fish Pond" isn't in the top 10 (otherwise too much blank space) (updated label to shorten)
  • Overlapping container on by-state.md search bar (sometimes makes it unclickable)
  • Zoom window change based on polygon bounding box on by-state page (fitBound, possibly)
  • Fix resize issues (e.g. for summary text box)
  • Move search box to top of table (issue with being non-clickable)
  • Add color to the risk grid (hazard + condition counts, square bubble chart). Ideally this would help indicate "worst" scenario when condition = poor and hazardPotential = High, "best" scenario when condition = fair and hazardPotential = Low, and gray / unknown when either condition or hazardPotential are unknown. Not sure how to accomplish this. (only based on condition, maybe add different scheme later on)
  • Stroke around capital text
  • Condition order in yearCompleted histogram
examples/us-dams/src/data/dam-simple.csv.R Outdated Show resolved Hide resolved
examples/us-dams/README.md Outdated Show resolved Hide resolved
examples/us-dams/src/index.md Outdated Show resolved Hide resolved
examples/us-dams/package.json Outdated Show resolved Hide resolved
examples/us-dams/src/data/us-states.json.js Outdated Show resolved Hide resolved
examples/us-dams/README.md Outdated Show resolved Hide resolved
examples/us-dams/src/extra.md Outdated Show resolved Hide resolved
Copy link
Contributor

@Fil Fil left a comment

Choose a reason for hiding this comment

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

a few nits.

examples/us-dams/observablehq.config.js Outdated Show resolved Hide resolved
examples/us-dams/src/index.md Outdated Show resolved Hide resolved
examples/us-dams/src/by-state.md Outdated Show resolved Hide resolved
examples/us-dams/src/by-state.md Show resolved Hide resolved
examples/us-dams/src/by-state.md Outdated Show resolved Hide resolved
@Fil
Copy link
Contributor

Fil commented Jun 18, 2024

LGTM

@allisonhorst allisonhorst dismissed mbostock’s stale review June 18, 2024 20:34

Data sources & updates made

@allisonhorst allisonhorst merged commit db3440a into main Jun 18, 2024
4 checks passed
@allisonhorst allisonhorst deleted the allison/dams-example branch June 18, 2024 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants