Fork of Hello HTML
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page.
MIT Licensed