Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
Ddivyakota99
Last edited Jun 29, 2022
Created on Jun 29, 2022
Forked from Hello VizHub

This example demonstrates a minimal integration of D3.js with ES6 modules in a VizHub project, displaying the text “Hello VizHub!” centered on the page. It shows how to load D3 v5 from a CDN via UNPKG, import the `select` function from D3, and import a local string from `myMessage.js`. The code uses `select('#message').text(message)` to set the content of a div, with CSS styling for large centered text. No data visualization or animation is present; it focuses on setup and module usage.

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