尚未检测到更新。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.