{"version":"1.0","type":"rich","title":"Node read stream","description":"This example streams the contents of a server log file directly to the browser as an HTTP response. It uses Node.js’s `fs.createReadStream` to read the file with UTF-8 encoding, then listens to the `'data'` event to strip newline characters and send each chunk via `res.send`. The code does not perform any visual rendering or charting; instead, it demonstrates a raw data-delivery pattern where log entries are pushed to the client in real time as they are read. No visualization library is involved.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-1342855?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}