Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
CCrystal Hsu
Last edited Sep 16, 2023
Created on Sep 16, 2023
Forked from Hello VizHub

This example demonstrates a minimal D3.js setup within the VizHub environment, displaying the text “Hello VizHub!” centered on the page. The code imports the `select` function from the D3 v5 library via UNPKG and a custom local ES6 module. It uses `select('#message').text(message)` to set the content of a div element, with styling applied through an external CSS file. The example highlights how to combine CDN-hosted libraries, local modules, and D3 selections in a simple, self-contained visualization template.

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