Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
Uuskh580e
Last edited Jan 23, 2023
Created on Jan 22, 2023
Forked from Hello VizHub

This example demonstrates how to import local ES6 modules alongside D3 loaded from a CDN, with D3 v5 fetched from UNPKG. The page renders a large text element whose content is set by the bundled JavaScript, while CSS is imported from a local stylesheet. The code uses the global `d3` object to manipulate the DOM and assign the message, and the `script` tag loads a prebuilt `bundle.js` file. The visualization focuses on module loading and basic DOM updates rather than data-driven rendering.

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