InfluxDb Measurement
✓ Published0🌍 Public
This example demonstrates how to transform raw InfluxDB-style measurement data into a structured JSON payload. It shows a collection of sensor readings (such as pressure, temperature, and power) organized into InfluxDB line protocol objects, each with a measurement name, fields, and index-based tags. The code uses D3 v5’s `select` API to display the resulting JSON in the browser, while local ES6 modules handle data transformation. The `message.js` module iterates over the data keys and builds the output objects, which are rendered as text in the page’s message div.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed