Skip to main content
100%

Fork of Hello VizHub

✓ Published1🌍 Public
RRuanzhenglin
Last edited Mar 22, 2021
Created on Mar 22, 2021
Forked from Hello VizHub

This example displays the text messages “Hello VizHub!” and “Good” in large, centered text using D3.js. It demonstrates loading D3 v5 from UNPKG and using ES6 module imports, including a local module that exports the message strings. The code uses `select` from `d3` to target the `#message` and `#look` divs in the HTML and set their text content via the `text` method. Styling is applied through an external CSS file.

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