vccs
Vue 3용 차트 컴포넌트 모음, Recharts에서 포팅
InsideGov는 대통령령·의회·대법원 등 공공 기록을 통해 행정·경제·무역·이민·이념·순자산 등을 탐색합니다
Explore the presidency, Congress, and the Supreme Court through the public record: executive orders, the economy, trade, immigration, ideology, and net worth.
데이터TypeScript · HTMLGitHub @corbett-hobbs온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기Tracking congressional ideology across states and over time
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
insidegov.fyi ·
every member of Congress's voting record reduced to a point in a
two-dimensional ideology space, from the 1st Congress (1789) to the 119th
(2025–27).
Political scientists have spent decades boiling roll-call votes down to a
low-dimensional "ideal point" per legislator — the DW-NOMINATE score. This
site makes that data explorable:README 전문 보기 ↗insidegov.fyi · the U.S. government, by the numbers: public records from all three branches, turned into charts you can explore. The presidency, Congress (1789 to today) and the Supreme Court, without reading the raw files.
The site is organised by branch. Each branch has several pages, each built around one question.
/presidency/…)/congress/…)/congress/laws) — every
public law since the 93rd Congress (1973), by policy area and by how close the
final-passage vote was, with David Mayhew's major laws marked and a page for
each law showing who voted for it./congress/wealth)
— first vs. latest net worth on a shared signed-log scale, highest and
lowest lists, and the actual assets and liabilities on every current
member's profile, estimated from their annual financial disclosures./supreme-court/…)| Branch | Source | Used for |
|---|---|---|
| Congress | Voteview (Lewis, Poole, Rosenthal, Boche, Rudkin & Sonnet) | DW-NOMINATE ideal points — the static career score and the per-Congress (Nokken–Poole) score |
| Congress | @unitedstates/congress-legislators | Names, states, parties, terms, leadership, the icpsr ↔ bioguide_id crosswalk, and current committees and rosters |
| Congress | @unitedstates/images | Official member portraits (current members only), committed under public/images/members/ |
| Congress | House Clerk (disclosures-clerk.house.gov) and Senate eFD (efdsearch.senate.gov) | Annual financial disclosures behind /congress/wealth and each profile's net worth card |
| Congress | GovInfo Bill Status (108th on), the Congress.gov API (93rd–107th) and Voteview roll calls | Public laws, sponsors and cosponsors, policy areas and final-passage votes behind /congress/laws |
| Court | Martin–Quinn scores | Per-term ideal points for every justice |
| Court | Supreme Court Database (Washington University) |
The full list, with notes on what each source covers, is on
/methodology.
Lewis, Jeffrey B., Keith Poole, Howard Rosenthal, Adam Boche, Aaron Rudkin, and Luke Sonnet (2026). Voteview: Congressional Roll-Call Votes Database. voteview.com
Raw snapshots are committed under pipeline/raw/, so builds are reproducible
and don't touch the network. Scheduled GitHub Actions
(.github/workflows/) re-fetch each source on its own
cadence and open a PR only when something material changed; the PR merges
itself only after the same checks CI runs have passed. Hand-curated data
(tariff and energy actions, ICE figures) has review reminders instead.
Data conventions (why each track has its own join key, why the two
DW-NOMINATE scores must not be conflated) are written down in
docs/DATA_CONVENTIONS.md, with a methodology doc
per topic alongside it.
pipeline/ fetches the raw
files, validates every row against a Zod schema, and transforms them into
normalized JSON, one set of files per track (Congress, the Court, executive
orders, indicators, energy, trade, immigration, foreign aid, troops, court
decisions). The app reads those at build time and statically prerenders every page — there is no
runtime data fetching and nothing to operate. Financial disclosures are a
separate Python sidecar (pipeline/financial_disclosures/, PDF/HTML parsing
is easier there) producing financial_disclosures.json (one row per member
per reporting year, band-count grain) and line-items/<year>.json (the
verbatim per-asset/per-liability grain, sharded by year) — both validated
the same way (Zod on the TS side, a dependency-free schema check on the
Python side) before the app reads them.d3-scale, d3-shape, d3-force) — scales, path
strings, and the beeswarm collision layout. Every <circle>, <path> and
<line> is plain JSX, so React owns the DOM. Low-level primitives
(ChartFrame, Axis, Tooltip) plus the ScatterPlot and SwarmRows
chart bodies back every view — the member and committee compasses are the
same ScatterPlot with different accessors, not separate charts..github/workflows/ci.yml) type-checks, lints, runs the unit tests,
re-runs the pipeline and fails if the committed output drifts, then builds.app/ routes — the hub (/), the explorer (/congress/ideology), the Court (/supreme-court/ideology), executive orders (/presidency/executive-orders), foreign aid (/presidency/foreign-aid), member profiles, committee pages, /congress/wealth
components/ charts/ (primitives), senate/ (the ideology views), profile/, committee/, wealth/
lib/ the build-time data layer + shared helpers
pipeline/ fetch → validate → transform → pipeline/output/*.json
financial_disclosures/ — Python sidecar (PDF/HTML parsing) for
financial_disclosures.json + line-items/<year>.json
public/ static assets, incl. committed member photos (images/members/)
docs/ DATA_CONVENTIONS.md, CREDITS.md, and a *_METHODOLOGY.md per topic
See ARCHITECTURE_MAP.md for the data-layer, route, and
shared-component maps.
pnpm install
pnpm dev # http://localhost:3000
Node ≥ 20.9. Other commands:
pnpm build # production build
pnpm typecheck # next typegen && tsc --noEmit
pnpm test # vitest
pnpm pipeline # fetch + validate + transform (re-fetches from source)
pnpm pipeline:check # validate + transform + assert pipeline/output is unchanged
Still future work: a per-member record of every roll-call vote (profiles list the laws a member sponsored or cosponsored, not their votes).
Personal project — the code isn't licensed for reuse yet. The underlying data belongs to its sources: Voteview data is free for scholarly and public use with attribution; congress-legislators is public-domain (CC0).
| Case counts, dissents, issue areas, outcomes and each justice's vote |
| Court | Federal Judicial Center | Justice biographies |
| Presidency | Federal Register | Executive orders (topics are classified with the Claude API and the result is committed) |
| Presidency | FRED, BLS, Census, OMB, Freddie Mac | The economic indicators |
| Presidency | U.S. Energy Information Administration | Energy series |
| Presidency | U.S. Census Bureau and USITC DataWeb | Trade by country; duties collected (DataWeb for 1993–2009) |
| Presidency | ICE | Removals by year and by country of citizenship |
| Presidency | U.S. Customs and Border Protection | Border encounters: Border Patrol apprehensions, port-of-entry inadmissibles and Title 42 expulsions (port-of-entry figures for FY2004–FY2014 via DHS OHSS) |
| Presidency | DHS Office of Homeland Security Statistics | Green cards (by class and country) and naturalizations: the Yearbook of Immigration Statistics, plus the quarterly report for the newest year |
| Presidency | Presidential Determinations (Federal Register) and the State Department's Refugee Processing Center | Refugee ceilings and admissions |
| Presidency | ForeignAssistance.gov | Foreign aid obligations and disbursements |
| Presidency | Defense Manpower Data Center, troopdata, David Vine's base lists | Troop locations and overseas bases |
| All | Wikipedia (CC BY-SA 4.0) | Short bios on member and justice profiles, and the landmark-case list and case articles, fetched in the pipeline |
| All | Natural Earth | World map outlines |