Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork

Public visualization

Fork

0 stars0🌍 Public
Sshettisowmya01@gmail.com
Last edited Oct 16, 2024
Created on Oct 16, 2024
Forked from Hello VizHub

This example demonstrates how VizHub supports ES6 modules and D3.js imports. The code uses `import { select } from 'd3'` to select a div element and set its text content, while a local module `myMessage.js` exports a string value. The page renders a large centered message using CSS from `styles.css`, and D3 is loaded via UNPKG. The example shows basic DOM manipulation with D3’s `select` function and modular JavaScript organization.

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