pgx
PGX — Lightweight Postgres for AI agents. Written in Rust. Thousands of isolated databases in one runtime. 🐘
Translation pending
Interactive visualization comparing land use across European countries. Explore how different nations utilize their land for agriculture, nature, urban areas, and more.
DataJavaScript · CSSGitHub @vnglstOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
A visualization to show how we use our land in the EU.
Translation pending
Taken from the repository README
Loading the full README.
Read the full README ↗An interactive hexagonal map showing land use patterns across European countries. Each hex represents a land percentage, split into Water, Nature, Cities, and Agriculture.
🔗 Live demo: https://onsland.koenvangilst.nl
Originally created to visualize Dutch land use, this project now lets you compare land use patterns across Europe and see what makes each country unique.
https://github.com/user-attachments/assets/2e425a3a-3fa4-439e-a37d-18a6d4a0877b
Want to add more countries? The map rendering is already there, and land use data is available in the SQLite database for EU countries. PRs welcome, also for non-European countries!
Query the data from the SQLite database in data/land-cover.db to get the land use percentages for your country
Add the country configuration to public/shared/countries.js and add its slug to the supported country list in server.js
isoCode by checking the Wikipedia "List of ISO 3166 country codes" to get the country's NUMeric codecenter coordinates (longitude and then latitude) for proper map centeringscale value to get the best fit for the hex mapcategories percentages from the "Land Cover Categories" of the command's outputlabels for better readability (use the instructions in the Development section for help)Add the country name translation to the locale files in public/locales/
countries section in each language file (en.json, nl.json, fr.json, es.json, de.json)The country will automatically appear on the home page grid and in the rankings once added to the configuration. See existing country configurations for examples.
This project uses Express.js, a minimal Node.js web framework.
Start the development server:
npm run dev
Or for production mode:
npm start
The site will be available at http://localhost:8000
Build and run with Docker:
docker build -t onsland .
docker run -p 8000:8000 onsland
Enable drag-and-drop label positioning by setting DEV_MODE = true in public/country.js.
Check the browser console for the current label positions to update the configuration.
This project uses a simple Express server for routing and templating. All interactivity is handled through vanilla JavaScript files loaded directly in the browser, keeping the stack minimal and avoiding framework complexity.
Created by Koen van Gilst
Previous HN discussion: https://news.ycombinator.com/item?id=40599763
Production uses the shared vnglst/static-sites Nginx host; no Node process runs there.
Run npm ci && npm test && npm run export, commit dist/ with the source,
then update the immutable Onsland source pin in the hosting repository.
The export preserves /, /about, /rankings and all 26 /country/<name> URLs.
Unsupported countries and missing files return 404. Node/Fastify remain local development and export tools.