Skip to content

bettergovph/officials-network-graph

Repository files navigation

Network Graph of Elected Philippine Officials, 2004-2025

A network graph visualization of regional elected Philippine officials from 2004-2025.

Can be used to spot potential political dynasties at a glance by looking at the surname (red) nodes by size. Surname node sizes are proportional to the number of elected individual officials with the same surnames in a region.

View the project at https://officials.bettergov.ph.

This project uses Node.js, TypeScript, Sigma.js, and Vite.

Installation and Build

  1. Install Node.js/NPM
  2. Type npm install in console.
  3. Type npm run build in console.
  4. Type npx vite in console. It will give a localhost address you can test locally on.

Deployment

This repository is configured for Cloudflare Workers Static Assets via wrangler.jsonc.

npm run deploy

The Cloudflare deployment serves the Vite build output from ./dist and uses SPA fallback handling for direct route loads.

Data Sources

About

Network Graph Visualization of Philippine Elected Public Officials

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages