Skip to main content
100%

loading data

✓ Published3🌍 Public
Nnexus1058
Last edited Jan 23, 2021
Created on Jan 23, 2021
Forked from Hello VizHub

This example demonstrates how to load D3.js from a CDN and use local ES6 modules within a VizHub project. The visualization displays the text "Hello VizHub!" centered in the browser window by utilizing the `d3.select` API to target the `#message` div and set its text content. The code also imports a string from a separate local module, `myMessage.js`, and applies styling from an external `styles.css` file, showcasing a minimal setup for combining external libraries with modular code.

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