Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
Bbellsamuel
Last edited Feb 15, 2021
Created on Feb 15, 2021
Forked from Hello VizHub

This example demonstrates the basic structure of a VizHub project, using D3.js to manipulate the DOM. It shows how to load D3 v5 from a CDN and import specific functions like `select` from the library. The code also imports a local ES6 module, `myMessage`, to retrieve a string, which is then applied to the text content of a `#message` div. This provides a minimal, clear template for combining external libraries with modular JavaScript in a web visualization. The data is a simple static message, not a dataset.

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