Skip to main content
100%

activity9

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

This example demonstrates a simple VizHub project that renders the text “Hello VizHub!” centered on the page using D3.js. It shows how to load D3 via UNPKG, import functions from the D3 library (specifically `select`), and use local ES6 modules through the `myMessage.js` file. The code selects the `#message` div and sets its text content using D3’s `selection.text` method, while CSS styles the message with a large font size. The example highlights basic module imports and D3 DOM manipulation.

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