Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

tutorial7

Public visualization

tutorial7

0 stars0🌍 Public
Ppaulphillips@my.unt.edu
Last edited Oct 30, 2024
Created on Oct 30, 2024

This example demonstrates a minimal D3.js setup that displays the text “Hello VizHub!” in the center of the page. It loads D3 v5 from a CDN and uses the `select` function to target a div element, setting its text content with a custom message imported from a local ES6 module. The page also includes basic styling via CSS, showing how to combine external libraries, local modules, and stylesheet imports in a single visualization.

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