Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello VizHub

Public visualization

Fork of Hello VizHub

0 stars0🌍 Public
MMonisha Gopinath
Last edited Sep 12, 2021
Created on Sep 12, 2021
Forked from Hello VizHub

This example demonstrates the basic syntax and modular workflow of VizHub, showing how to combine D3.js with local ES6 modules to produce a simple text output. The code imports the `select` function from D3 and a `message` string from a local module, then uses `select('#message').text()` to render "Hello VizHub!" in the browser. D3 v5 loads via UNPKG, and styling comes from a 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.

Comments

Sign in to join the discussion.

MIT Licensed