Skip to main content
100%

Activity 6

✓ Published1🌍 Public
Ssairamisetti3829@gmail.com
Last edited Oct 16, 2024
Created on Oct 16, 2024
Forked from Hello VizHub

This example demonstrates how to integrate D3 with ES6 modules in VizHub, importing both the D3 library and a local module to dynamically update text on a webpage. It uses `select` from D3 to target an HTML div and set its content to a string exported from `myMessage.js`. The page loads D3 via UNPKG and includes external CSS styling, showcasing a minimal setup for mixing CDN-loaded libraries with modern JavaScript module syntax.

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