尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Dashboard of the oil, gas, coal, and cement producers behind global emissions, plus a country CO₂ heatmap, from Carbon Majors and Our World in Data. Astro, React, TypeScript.
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗A civic-tech data visualization: how concentrated global emissions are among a small set of fossil fuel and cement producers, who causes the climate crisis, and who pays for it.
Static site (Astro + React islands) with a build-time data pipeline. No backend.
Requires Node 22.18+ (the pipeline runs TypeScript directly via Node's built-in type stripping) and pnpm.
pnpm install
pnpm test # pipeline unit tests
pnpm dev # builds data, then starts the dev server at http://localhost:4321
Out of the box the site runs on synthetic sample data (invented names, fake numbers) and
shows a banner saying so. To use real data, follow data/raw/README.md.
| Script | What it does |
|---|---|
pnpm data | Run the pipeline: data/raw/ (or data/sample/) → public/data/*.json |
pnpm dev / pnpm build | Run the pipeline, then Astro |
pnpm test | Pipeline unit tests (node:test) |
pnpm check | Astro + TypeScript type check |
pnpm data:sample | Regenerate the synthetic sample CSVs |
pipeline/ Build-time data pipeline (dependency-free TypeScript)
types.ts Shared types for pipeline output and the site
carbon-majors.ts Parse + normalize the Carbon Majors CSV
owid.ts Parse OWID per-capita and world totals
aggregate.ts Entities, per-year leaderboards, concentration stat
validate.ts Sanity checks that fail the build
run.ts Entry point: read → validate → aggregate → write JSON
data/
raw/ Your downloads (git-ignored; see README inside)
sample/ Synthetic data so the site always builds
public/data/ Generated JSON (git-ignored)
src/
pages/ index, leaderboard, companies/[slug], methodology
components/ React islands (Leaderboard, Sparkline)
lib/ Build-time data loaders, formatters
layouts/, styles/
The pipeline emits small, purpose-shaped JSON files:
meta.json: data source, years, the concentration statentities.json: one summary per producer (used for page generation)entities/{slug}.json: full history for each company pageleaderboard/{year}.json: fetched by the leaderboard island when the year changesfootprints.json: per-capita emissions by country (OWID)Astro pages read these at build time; React islands fetch them over HTTP.
The pipeline and its tests were run before handoff. The Astro build was not, because the
scaffolding environment had no npm access, so expect possible small fixes on first pnpm dev.