pgx
AI 에이전트를 위한 경량 Postgres, Rust로 구현, 하나의 런타임에서 수천 개의 격리된 데이터베이스 제공
유럽 국가들의 토지 이용을 인터랙티브하게 시각화해 농업·자연·도시 등 활용 현황을 비교합니다
Interactive visualization comparing land use across European countries. Explore how different nations utilize their land for agriculture, nature, urban areas, and more.
데이터JavaScript · CSSGitHub @vnglst온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기A visualization to show how we use our land in the EU.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
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.