Skip to main content
100%

InfluxDb Measurement

✓ Published0🌍 Public
SStrunck
Last edited Dec 3, 2021
Created on Dec 3, 2021
Forked from Hello VizHub

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes