Skip to main content
100%

Activity_6

✓ Published0🌍 Public
Vvarshithainaganti@gmail.com
Last edited Oct 19, 2024
Created on Oct 19, 2024
Forked from Hello VizHub

This example demonstrates basic VizHub project structure with modular ES6 imports and D3.js integration. It renders a simple text message centered on the page using D3’s `select` function to target a div element and set its content. The code imports `select` from the D3 library via UNPKG, imports a string from a local `myMessage.js` module, and applies styling through an external CSS file. The example highlights how to combine CDN-loaded libraries, local modules, and styles in an HTML document.

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