Skip to main content
100%

Hello VizHub Fork

✓ Published0🌍 Public
IInferno-888
Last edited May 31, 2022
Created on May 31, 2022
Forked from Hello VizHub

This example demonstrates how to load D3 v5 from a CDN and import local ES6 modules in VizHub, displaying the make of the first car from a hardcoded JSON array in a pre element. The code parses the JSON string using JSON.parse, accesses the first object’s make property, and sets it as the text content of the element with the ID msg, styled by CSS. It shows basic D3 integration and module usage without additional visualization libraries.

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