Skip to main content
100%

Fork of Hello VizHub

✓ Published1🌍 Public
LLakshmiDeepikaPagadala@my.unt.edu
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

This example demonstrates how VizHub integrates D3.js version 5 with local ES6 modules, producing a simple text display. It uses `import { select } from 'd3'` to select the `#message` div and set its content, while a separate `myMessage.js` module exports the string "Hello VizHub!" through the `message` constant. The code also includes a regular expression and CSS styling from `styles.css` that centers the text at a large font size.

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