Skip to main content
100%

Fork of Fork of Hello VizHub

✓ Published1🌍 Public
Nnikhilkashid3593
Last edited Nov 9, 2021
Created on Nov 9, 2021

This example demonstrates how VizHub loads D3 and renders a simple text message using local ES6 modules. The code uses `d3.select` from an UNPKG-hosted D3 v5 bundle to set the text of a `#message` div, with the string imported from `myMessage.js`. It includes a stylesheet for centered, large-font styling. The page structure is defined in `index.html`, while `bundle.js` loads the main script that connects these pieces.

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