Skip to main content
100%

Fork of Hello HTML

✓ Published0🌍 Public
Lllm0316@gwmail.gwu.edu
Last edited Mar 28, 2024
Created on Mar 28, 2024
Forked from Hello HTML

This example shows a live-updating histogram that streams unconfirmed Bitcoin transaction sizes over a WebSocket connection from Blockchain.info. It repurposes Mike Bostock’s Observable notebook by using the Observable Runtime’s `module.redefine` method to replace the `data` cell with a generator built on `library.Generators.observe`, which pushes new sizes into the chart as messages arrive. The chart renders as a `d3.histogram` with axes and bars, while the page uses vanilla HTML and CSS for layout. The code highlights how to override a notebook’s data source with real-time external inputs.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes