Skip to main content
100%

Activity 67

✓ Published0🌍 Public
AArun Pratap
Last edited Jul 10, 2023
Created on Jul 10, 2023
Forked from Hello VizHub

A simple D3 example demonstrates how to load external libraries and local ES6 modules within a basic HTML page. It uses `import { select } from 'd3'` to select the `#message` div and sets its text content to a string imported from a separate `myMessage.js` module. The page loads D3 v5 from a CDN and renders the message "Hello VizHub!" in large, centered text, showcasing modular code organization and D3's selection API.

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