Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

台電即時資訊表

Public visualization

台電即時資訊表

0 stars1🌍 Public
Yyuting89830@gmail.com
Last edited Jan 2, 2024
Created on Jan 2, 2024
Forked from Hello HTML

This live-updating table displays real-time power consumption and capacity data for Taiwan's power grid. It presents each timestamped record as a row, with columns for each consumption category, showing values as "used / cap" pairs. The visualization fetches JSON data from a remote GitHub repository using the `fetch` API, then dynamically constructs an HTML table by iterating through the data object. The code uses standard DOM manipulation methods like `insertRow()` and `insertCell()` to build the table structure without external visualization libraries.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed