Skip to main content
100%

aasign-2

✓ Published0🌍 Public
Vvaishnavi6gan@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

This example demonstrates how to build a minimal web page integrating D3.js with local ES6 modules. It displays a simple text message, “Hello VizHub!”, centered on the screen via CSS. The code imports the `select` function from D3 and a `message` string from a local module, using `select('#message').text(message)` to render the text. It loads D3 from a CDN (UNPKG) and relies on a bundled JavaScript file, illustrating basic import and rendering workflows.

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