Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
GGC1411
Last edited May 1, 2022
Created on May 1, 2022
Forked from Hello VizHub

This example demonstrates how to set up a minimal D3.js visualization using ES6 modules. It displays the text “Garima” centered on the page by importing the `select` function from D3 and a local `message` variable from a separate ES6 module. D3 v5 loads via UNPKG in the HTML, while the JavaScript file imports from the `d3` namespace and a custom `myMessage.js` file. The example highlights basic module imports and D3’s DOM selection and text-setting capabilities in a single-page setup.

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