Show HN: Interactive Timeline of US Legislation (1975–Present)(chamberzero.com) Hey all, This is a project I’ve been working on over the last year. In addition to combining data from multiple federal sources into a single UI, I built a 2,500+ rule regex-based parser / pseudo state machine that classifies every legislative action into discrete states and stages. This makes it possible to generate a day-by-day timeline of what happened to every bill over the last 50 years, and a graph showing how many (and which) bills occupy each major legislative state at any point in time. In total, 1,555,069 actions are parsed into 1,157 unique enums across 41 stages. I also fully re-parsed the official bill text XML into a modern format and recreated the large bill-text XLS styling system in CSS, which dramatically improves load times and (to my knowledge) is the first near-complete recreation of that XLS styling in CSS. Hope you find it interesting :) |