Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello VizHub

Public visualization

Viewing a saved revision (read-only)

a023ace811104a1a988de562353fe182

Fork of Hello VizHub

0 stars0🌍 Public
Llrakla
Last edited Dec 23, 2021
Created on Dec 23, 2021
Forked from Hello VizHub

This example demonstrates how to load and display a single data value from a local ES6 module in a web page. It imports a `cars` array containing one object with a `make` property, parses it from a JSON string, and renders the result (`Honda`) into a `<pre>` element using the DOM API. The visualization relies on D3 v5 loaded from UNPKG, though no D3-specific functions are invoked. A separate CSS file styles the message with large, centered text. The approach shows basic module imports, JSON parsing, and DOM manipulation within the VizHub environment.

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.